-
Notifications
You must be signed in to change notification settings - Fork 324
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
extend InstrumentationTest timeout to reduce flakeyness #3436
extend InstrumentationTest timeout to reduce flakeyness #3436
Conversation
@elasticmachine run elasticsearch-ci/docs |
@@ -421,7 +421,8 @@ void testPluginClassLoaderGCdAfterUndoingInstrumentation() { | |||
await().untilAsserted(() -> assertThat(pluginClassLoader.get()).isNull()); | |||
} | |||
|
|||
@Test | |||
//this is failing from unspecified - likely metaspace specific GC not happening - in CI | |||
// @Test |
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.
[minor] maybe better to use @Ignore
here, and keep the comment so we have a clue about the reason it's disabled.
long start = System.currentTimeMillis(); | ||
while(System.currentTimeMillis()-start < 10_000) { | ||
|
||
} |
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.
[minor] let's remove this if we disable the test for now.
What does this PR do?
lots of tests are hitting a timeout on InstrumentationTest but it's passing fine when run manually.
In the end I commented out the test. It's odd that it's started happening but there is no guarantee that the class will be unloaded in any time period, I think I'd have to set metaspace to some small value and it's easier to just stop doing the test