-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update the registry for pushing the image install jdk 21 use the jsoup library and patch it for running test with instrument-the-world mode add include file to specify which packages/classes we want to include into the instrumentation instead of instrumenting everything (like build tools) do not collect static inherited fields to avoid duplicate class definition for enums.
- Loading branch information
Showing
14 changed files
with
175 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
dd-java-agent/agent-debugger/exploration-tests/exclude.txt
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
dd-java-agent/agent-debugger/exploration-tests/exclude_jackson-databind.txt
This file was deleted.
Oops, something went wrong.
Empty file.
1 change: 1 addition & 0 deletions
1
dd-java-agent/agent-debugger/exploration-tests/include_jsoup.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org/jsoup/* |
26 changes: 26 additions & 0 deletions
26
dd-java-agent/agent-debugger/exploration-tests/jsoup_exploration-tests.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/src/test/java/org/jsoup/parser/HtmlParserTest.java b/src/test/java/org/jsoup/parser/HtmlParserTest.java | ||
index a67003a8..1201d1af 100644 | ||
--- a/src/test/java/org/jsoup/parser/HtmlParserTest.java | ||
+++ b/src/test/java/org/jsoup/parser/HtmlParserTest.java | ||
@@ -1033,7 +1033,7 @@ public class HtmlParserTest { | ||
|
||
// Assert | ||
assertEquals(50000, doc.body().childNodeSize()); | ||
- assertTrue(System.currentTimeMillis() - start < 1000); | ||
+ //assertTrue(System.currentTimeMillis() - start < 10000); | ||
} | ||
|
||
@Test | ||
diff --git a/src/test/java/org/jsoup/parser/ParserIT.java b/src/test/java/org/jsoup/parser/ParserIT.java | ||
index 54d757e7..467c10bc 100644 | ||
--- a/src/test/java/org/jsoup/parser/ParserIT.java | ||
+++ b/src/test/java/org/jsoup/parser/ParserIT.java | ||
@@ -48,7 +48,7 @@ public class ParserIT { | ||
// Assert | ||
assertEquals(2, doc.body().childNodeSize()); | ||
assertEquals(25000, doc.select("dd").size()); | ||
- assertTrue(System.currentTimeMillis() - start < 20000); // I get ~ 1.5 seconds, but others have reported slower | ||
+ //assertTrue(System.currentTimeMillis() - start < 20000); // I get ~ 1.5 seconds, but others have reported slower | ||
// was originally much longer, or stack overflow. | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.