Skip to content

Instantly share code, notes, and snippets.

@divideby0
Created August 13, 2015 20:11
Show Gist options
  • Save divideby0/515bc65fe19dd9457966 to your computer and use it in GitHub Desktop.
Save divideby0/515bc65fe19dd9457966 to your computer and use it in GitHub Desktop.
Expected: <true>
but: was <false>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
at com.sonian.elasticsearch.zookeeper.discovery.ZooKeeperDiscoveryTests$ClusterStateMonitor.await(ZooKeeperDiscoveryTests.java:720)
at com.sonian.elasticsearch.zookeeper.discovery.ZooKeeperDiscoveryTests.testMasterSwitchDuringSessionExpiration(ZooKeeperDiscoveryTests.java:345)
testNonMasterSessionExpiration(com.sonian.elasticsearch.zookeeper.discovery.ZooKeeperDiscoveryTests) Time elapsed: 15.322 sec <<< FAILURE!
java.lang.AssertionError:
Expected: <true>
but: was <false>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
at com.sonian.elasticsearch.zookeeper.discovery.ZooKeeperDiscoveryTests$ClusterStateMonitor.await(ZooKeeperDiscoveryTests.java:720)
at com.sonian.elasticsearch.zookeeper.discovery.ZooKeeperDiscoveryTests.testNonMasterSessionExpiration(ZooKeeperDiscoveryTests.java:393)
Results :
Failed tests:
ZooKeeperDiscoveryTests.testMasterSwitchDuringSessionExpiration:345
Expected: <true>
but: was <false>
ZooKeeperDiscoveryTests.testNonMasterSessionExpiration:393
Expected: <true>
but: was <false>
Tests run: 30, Failures: 2, Errors: 0, Skipped: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment