-
Notifications
You must be signed in to change notification settings - Fork 43
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
Adding multi node IT #360
Adding multi node IT #360
Conversation
CI is not running, is there a syntax error? I believe |
16e151c
to
fa36f77
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #360 +/- ##
============================================
- Coverage 72.14% 71.98% -0.17%
+ Complexity 613 612 -1
============================================
Files 79 79
Lines 3070 3070
Branches 238 238
============================================
- Hits 2215 2210 -5
- Misses 751 755 +4
- Partials 104 105 +1 ☔ View full report in Codecov by Sentry. |
fa36f77
to
d73a8dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, although I don't think we need to have 7 copies of this! Could probably put a conditional on the multi-node test to only do for one if the JDKs.
@amitgalitz I see the multi node tests are failing with TimeoutException, do we have any idea about it? |
d73a8dc
to
ab21477
Compare
These should be fixed by latest code changes from Dan, however there might be still some left over issue that relates to the issues that Josh is working on. I will confirm this |
Yeah let's get the single node tests passing consistently and see if it fixes these, if so merge away. |
Still fails with the same exception. Do we have to add a TimeoutSuite for the integ tests? |
Looks to me like tests are running before the cluster is up and connected.
|
3d1b1e7
to
e2009c9
Compare
@@ -78,3 +78,7 @@ jobs: | |||
- name: Build and Run Tests | |||
run: | | |||
./gradlew integTest yamlRestTest | |||
- name: Multi Nodes Integration Testing | |||
if: matrix.java == 21 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if: matrix.java == 21 | |
if: ${{ matrix.java == 21 }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be if: ${{ matrix.java }} == 21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
current code works, multi node only ran on jdk21
getting lots of time out exceptions locally now too, I didn't see this before, so trying out a few different commits locally to see if I can locate any big differences |
e2009c9
to
2020a54
Compare
|
||
// Hit Provision API and assert status | ||
response = provisionWorkflow(workflowId); | ||
assertEquals(RestStatus.OK, TestHelpers.restStatus(response)); | ||
getAndAssertWorkflowStatus(workflowId, State.PROVISIONING, ProvisioningProgress.IN_PROGRESS); | ||
Thread.sleep(500); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make this 1000 and try again for mac-os?
Seems removing the wipreAllIndices method resolved most of the issues we're seeing. All but 1 multi-node test passed
|
7fb380a
to
fd1f0dc
Compare
Signed-off-by: Amit Galitzky <[email protected]>
Signed-off-by: Amit Galitzky <[email protected]>
Signed-off-by: Amit Galitzky <[email protected]>
Signed-off-by: Amit Galitzky <[email protected]>
Signed-off-by: Amit Galitzky <[email protected]>
Signed-off-by: Amit Galitzky <[email protected]>
Signed-off-by: Amit Galitzky <[email protected]>
Signed-off-by: Amit Galitzky <[email protected]>
Signed-off-by: Amit Galitzky <[email protected]>
119f739
to
02b698c
Compare
Signed-off-by: Amit Galitzky <[email protected]>
02b698c
to
9e3abdc
Compare
Signed-off-by: Amit Galitzky <[email protected]>
closing for #416 |
Description
adding multi node IT
Issues Resolved
resolves #354
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.