Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Bug - Failing Apache Cassandra 3.9 tests on CI #27

Closed
hhandoko opened this issue Dec 8, 2016 · 1 comment
Closed

Bug - Failing Apache Cassandra 3.9 tests on CI #27

hhandoko opened this issue Dec 8, 2016 · 1 comment

Comments

@hhandoko
Copy link
Owner

hhandoko commented Dec 8, 2016

Expected Behaviour

CI tests on Apache Cassandra 3.9 should pass.


Actual Behaviour

CI tests on Apache Cassandra 3.9 in Travis started to fail recently, first identified in PR #25. Exact error message is:

...
shouldHaveDefaultConfigValues(com.builtamont.cassandra.migration.config.ClusterConfigurationTest)  Time elapsed: 0.007 sec  <<< FAILURE!
java.lang.AssertionError: 
Expected: is "localhost"
     but: was "127.0.0.1"
...

One possible cause is due to coercion of localhost input string to InetAddress type and back.


Steps to Reproduce

Run the integration test against the latest Apache Cassandra version (3.9).

@hhandoko
Copy link
Owner Author

As mentioned in #25 , this could be a side effect of the test setup (which passes 127.0.0.1) as part of the contact points system property value.

Provided a workaround to accept 127.0.0.1 for now, will refactor unit tests to clear and restore existing system properties variable as part of #28 .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant