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

Adjust timeouts for waiting GDB to read debug symbols #170

Merged
merged 1 commit into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public void debugSymbolsQuarkus(TestInfo testInfo) throws IOException, Interrupt
Logs.appendln(report, stringBuffer.toString());
assertTrue(waitForBufferToMatch(stringBuffer,
Pattern.compile(".*Reading symbols from.*", Pattern.DOTALL),
3000, 500, TimeUnit.MILLISECONDS),
60000, 500, TimeUnit.MILLISECONDS),
"GDB session did not start well. Check the names, paths... Content was: " + stringBuffer.toString());

writer.write("set confirm off\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,7 @@ public CP[] get(boolean inContainer) {
new CP("b ConfigTestController.java:33\n",
Pattern.compile(".*Breakpoint 1 at .*: file com/example/quarkus/config/ConfigTestController.java, line 33.*",
Pattern.DOTALL),
// FIXME: The timeout should be revisited once we conclude on whether such a delay on loading
// the symbols is acceptable or not. See https://github.com/Karm/mandrel-integration-tests/issues/160
10 * 60),
60),
new CP("run&\n",
Pattern.compile(".*Installed features:.*", Pattern.DOTALL)),
new CP("GOTO URL http://localhost:8080/data/config/lookup",
Expand Down
Loading