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

Fixes #14599: Rudder postgres unit test are broken #2179

Conversation

fanf
Copy link
Member

@fanf fanf commented Apr 6, 2019

jdbc.url = jdbc:postgresql://localhost:5432/test
jdbc.username = test
jdbc.password = test
jdbc.url = jdbc:postgresql://localhost:55432/test
Copy link
Member

Choose a reason for hiding this comment

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

Isn't that specific to your own environement ?

Copy link
Member Author

Choose a reason for hiding this comment

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

totally!

@@ -144,26 +144,27 @@ class ReportsTest extends DBCommon {
val reports = (
Map[String, Seq[Reports]]() +
node("n0")(
("hasPolicyServer-root", "d1", 1, "common", "EndRun", run1, "result_success", "End execution")
// ruleId dirId serial comp keyVal execTime severity msg
("rudder", "run", 0, "end", "", run1, "control", "End execution")
Copy link
Member

Choose a reason for hiding this comment

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

👍

Copy link
Member Author

Choose a reason for hiding this comment

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

it's so much better :))

@fanf
Copy link
Member Author

fanf commented Apr 8, 2019

Commit modified

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder/pull/2179
-- Your faithful QA
Kant merge: "Live your life as though your every act were to become a universal law."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/8851/console)

@fanf
Copy link
Member Author

fanf commented Apr 8, 2019

OK, squash merging this PR

@fanf fanf force-pushed the bug_14599/rudder_postgres_unit_test_are_broken branch from 434cd8e to 9441ca5 Compare April 8, 2019 14:50
@fanf fanf merged commit 9441ca5 into Normation:branches/rudder/5.0 Apr 8, 2019
@fanf fanf deleted the bug_14599/rudder_postgres_unit_test_are_broken branch March 15, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants