Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos/cassandra: Port test to python #72897

Merged
merged 1 commit into from Nov 8, 2019

Conversation

JohnAZoidberg
Copy link
Member

Motivation for this change

#72828

Things done

nix-build nixos/tests/cassandra.nix prints

...
(109.46 seconds)
(130.68 seconds)
(359.99 seconds)
9 out of 9 tests succeeded
test script finished in 360.14s
cleaning up
killing cass0 (pid 22390)
killing cass1 (pid 22503)
killing cass2 (pid 22589)
(0.01 seconds)
/nix/store/j3ilad34hsp88m8zxsd5lz1nxcf8a19r-vm-test-run-cassandra-ci
Notify maintainers

cc myself

@mmahut
Copy link
Member

mmahut commented Nov 7, 2019

@GrahamcOfBorg test cassandra

name = "cassandra";
meta = {
maintainers = with lib.maintainers; [ johnazoidberg ];
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
};

@@ -9,13 +9,16 @@ let
jmxRolesFile = ./cassandra-jmx-roles;
jmxAuthArgs = "-u ${(builtins.elemAt jmxRoles 0).username} -pw ${(builtins.elemAt jmxRoles 0).password}";
jmxPort = 7200; # Non-standard port so it doesn't accidentally work
jmxPortS = toString jmxPort;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this like jmx ports? the case like PortS seems incorrect.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah okay, I changed it to jmxPortStr. That should be clearer :)

@mmahut
Copy link
Member

mmahut commented Nov 8, 2019

@GrahamcOfBorg test cassandra

@flokli flokli merged commit cbb8b6d into NixOS:master Nov 8, 2019
@JohnAZoidberg JohnAZoidberg deleted the python-port-cassandra-test branch November 8, 2019 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants