Skip to content

Conversation

@shreyanshR7
Copy link

@shreyanshR7 shreyanshR7 commented Oct 5, 2023

@github-actions github-actions bot added the flink label Oct 5, 2023
@shreyanshR7
Copy link
Author

I've made the required changes :) @nk1506 @nastra

Assert.assertTrue(
"Should have expected elements.", latch.await(WAIT_TIME_MILLIS, TimeUnit.MILLISECONDS));
Thread.sleep(1000L);
Awaitility.await().atLeast(1, TimeUnit.SECONDS).until(() -> true);
Copy link
Contributor

Choose a reason for hiding this comment

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

this goes back to my earlier comment here. We don't want to blindly just change Thread.sleep usage to Awaitility

Copy link
Author

@shreyanshR7 shreyanshR7 Oct 6, 2023

Choose a reason for hiding this comment

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

I am new to open source , will it be ok if i replace this with simply Awaitility.await()
.atMost(WAIT_TIME_MILLIS, TimeUnit.MILLISECONDS)
.pollInterval(100, TimeUnit.MILLISECONDS)
.until(() -> latch.getCount() == 0); @nastra or suggest changes please.

Copy link
Contributor

Choose a reason for hiding this comment

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

@shreyanshR7 , I also tried to make a fix for this here . You can still continue on flink module.

@nastra
Copy link
Contributor

nastra commented Oct 31, 2023

Closing this one as it has been superseded by #8804

@nastra nastra closed this Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants