Skip to content

[ Tests ] Fixed flaky test createResourceGroup#11117

Closed
mattisonchao wants to merge 1 commit intoapache:masterfrom
mattisonchao:fixed_flaky_test_11105
Closed

[ Tests ] Fixed flaky test createResourceGroup#11117
mattisonchao wants to merge 1 commit intoapache:masterfrom
mattisonchao:fixed_flaky_test_11105

Conversation

@mattisonchao
Copy link
Member

@mattisonchao mattisonchao commented Jun 27, 2021

Fixes #11105 , #11096

Master Issue: #11105 , #11096

Motivation

#11048 fix this test failed with Awaitility.await().until to wait for asyncPutRequest, however, the default wait timeout is 10s, if asyncPutRequest reaches 10s, it will also run fail.

Modifications

  • simplify increase wait timeout to 30s.

@codelipenghui
Copy link
Contributor

@mattisonchao If the tests failed frequently, I'm not sure if increase the timeout to 30s can fix the problem. Because 10s looks enough for the HTTP request since we do not have a very expensive operation. Have you checked the thread dump or others? make sure the issue is not caused by the deadlock.

@mattisonchao
Copy link
Member Author

@mattisonchao If the tests failed frequently, I'm not sure if increase the timeout to 30s can fix the problem. Because 10s looks enough for the HTTP request since we do not have a very expensive operation. Have you checked the thread dump or others? make sure the issue is not caused by the deadlock.

Ok, I will check out it.

@mattisonchao mattisonchao marked this pull request as draft June 30, 2021 07:38
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.

Flaky-test:ResourceGroupConfigListenerTest.testResourceGroupAttachToNamespace

2 participants