Terratest timeout 15 min, parallel 12 #451
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It happened that long running test
TestK8gbBasicRoundRobinExample
didn't finish during 10 minutes terratest run.We are running tests in Parallel. The maximum number of tests to run simultaneously is by default set to the value of GOMAXPROCS (the number of CPU's visible to the program startup). That's why tests are running in smaller parallel chunks (waves).
From what I see in the logs,
TestK8gbBasicRoundRobinExample
started in 4th minute of terratest (n-th wave) and was not fast enough to scale-up GSLB in the last subtest(subtests are sequential in the scope of test), TheTestK8gbBasicRoundRobinExample
timeouted see: text logI saw this behavior first time.
I shorten terratest run from usual 9+ to 6+ minutes
10 minutes limit can exceed quickly !!
Signed-off-by: kuritka [email protected]