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

Fix intermittent failures of WatchTest #3300

Closed
rohanKanojia opened this issue Jul 6, 2021 · 7 comments
Closed

Fix intermittent failures of WatchTest #3300

rohanKanojia opened this issue Jul 6, 2021 · 7 comments

Comments

@rohanKanojia
Copy link
Member

I've noticed WatchTest failing intermittently on CI sometimes, for example here. We should fix these intermittent failures whenever we get some time:

[INFO] 
[INFO] Results:
[INFO] 
Error:  Failures: 
Error:    WatchTest.testHttpErrorReconnect:192 expected: <true> but was: <false>
[INFO] 
Error:  Tests run: 919, Failures: 1, Errors: 0, Skipped: 4
@manusa
Copy link
Member

manusa commented Jul 28, 2021

@manusa manusa self-assigned this Jul 30, 2021
@manusa
Copy link
Member

manusa commented Jul 30, 2021

I'm not able to force a local failure:

  • Ran individual test >100 times continuously (from IDE). ✔️
  • Ran class suite >225 times continuously (from IDE). ✔️
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)

@manusa manusa removed their assignment Jul 30, 2021
@rohanKanojia
Copy link
Member Author

Maybe we can run this test only on linux/unix platforms?

  @Test
  @EnabledOnOs({OS.LINUX, OS.MAC})
  void testHttpErrorReconnect() throws InterruptedException {

@manusa
Copy link
Member

manusa commented Aug 3, 2021

I don't like this, but we'll probably need to do it.

@stale
Copy link

stale bot commented Nov 1, 2021

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

@stale stale bot added the status/stale label Nov 1, 2021
@stale stale bot removed the status/stale label Nov 1, 2021
@shawkins shawkins self-assigned this May 20, 2022
shawkins added a commit to shawkins/kubernetes-client that referenced this issue May 20, 2022
shawkins added a commit to shawkins/kubernetes-client that referenced this issue May 20, 2022
shawkins added a commit to shawkins/kubernetes-client that referenced this issue May 20, 2022
@manusa manusa closed this as completed in 895ff02 May 25, 2022
@j-razeed
Copy link

j-razeed commented Mar 27, 2024

We are using 5.12.4 and facing the issue "onClose is not getting invoked". I suspect that this issue is related to it. But I am not able to relate it.

Could someone explain me that why onClose will not be invoked due to this ticket?

Also, help me to understand that how to solve this issue without upgrading the library?

@manusa
Copy link
Member

manusa commented Mar 28, 2024

This issue is related to an internal unit test failure.
It can't hardly relate to any issue you may have.
If you are facing some problem, please create a new issue or discussion with a full context for your problem and what your expectations are.

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

No branches or pull requests

4 participants