From 1371dacdaa3fb6822d5ba429b13a9a022662a77a Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Wed, 26 Apr 2017 08:50:39 -0400 Subject: [PATCH] expanded test case to identify/fix threading issue --- .../src/it/690-threadsafety/first-a/pom.xml | 35 +++++++++++++++++++ .../src/it/690-threadsafety/first-b/pom.xml | 35 +++++++++++++++++++ .../src/it/690-threadsafety/fourth-a/pom.xml | 35 +++++++++++++++++++ .../fourth-a/src/main/webapp/WEB-INF/web.xml | 26 ++++++++++++++ .../src/it/690-threadsafety/fourth-b/pom.xml | 35 +++++++++++++++++++ .../fourth-b/src/main/webapp/WEB-INF/web.xml | 26 ++++++++++++++ .../it/690-threadsafety/invoker.properties | 2 +- .../src/it/690-threadsafety/pom.xml | 8 +++++ .../src/it/690-threadsafety/second-a/pom.xml | 35 +++++++++++++++++++ .../second-a/src/main/webapp/WEB-INF/web.xml | 26 ++++++++++++++ .../src/it/690-threadsafety/second-b/pom.xml | 35 +++++++++++++++++++ .../second-b/src/main/webapp/WEB-INF/web.xml | 26 ++++++++++++++ .../src/it/690-threadsafety/third-a/pom.xml | 35 +++++++++++++++++++ .../third-a/src/main/webapp/WEB-INF/web.xml | 26 ++++++++++++++ .../src/it/690-threadsafety/third-b/pom.xml | 35 +++++++++++++++++++ .../third-b/src/main/webapp/WEB-INF/web.xml | 26 ++++++++++++++ 16 files changed, 445 insertions(+), 1 deletion(-) create mode 100644 dependency-check-maven/src/it/690-threadsafety/first-a/pom.xml create mode 100644 dependency-check-maven/src/it/690-threadsafety/first-b/pom.xml create mode 100644 dependency-check-maven/src/it/690-threadsafety/fourth-a/pom.xml create mode 100644 dependency-check-maven/src/it/690-threadsafety/fourth-a/src/main/webapp/WEB-INF/web.xml create mode 100644 dependency-check-maven/src/it/690-threadsafety/fourth-b/pom.xml create mode 100644 dependency-check-maven/src/it/690-threadsafety/fourth-b/src/main/webapp/WEB-INF/web.xml create mode 100644 dependency-check-maven/src/it/690-threadsafety/second-a/pom.xml create mode 100644 dependency-check-maven/src/it/690-threadsafety/second-a/src/main/webapp/WEB-INF/web.xml create mode 100644 dependency-check-maven/src/it/690-threadsafety/second-b/pom.xml create mode 100644 dependency-check-maven/src/it/690-threadsafety/second-b/src/main/webapp/WEB-INF/web.xml create mode 100644 dependency-check-maven/src/it/690-threadsafety/third-a/pom.xml create mode 100644 dependency-check-maven/src/it/690-threadsafety/third-a/src/main/webapp/WEB-INF/web.xml create mode 100644 dependency-check-maven/src/it/690-threadsafety/third-b/pom.xml create mode 100644 dependency-check-maven/src/it/690-threadsafety/third-b/src/main/webapp/WEB-INF/web.xml diff --git a/dependency-check-maven/src/it/690-threadsafety/first-a/pom.xml b/dependency-check-maven/src/it/690-threadsafety/first-a/pom.xml new file mode 100644 index 000000000..8e32ab8a6 --- /dev/null +++ b/dependency-check-maven/src/it/690-threadsafety/first-a/pom.xml @@ -0,0 +1,35 @@ + + + + 4.0.0 + + org.owasp.test + threaded-parent + 1.0.0-SNAPSHOT + + first-a + jar + + + log4j + log4j + 1.2.17 + + + diff --git a/dependency-check-maven/src/it/690-threadsafety/first-b/pom.xml b/dependency-check-maven/src/it/690-threadsafety/first-b/pom.xml new file mode 100644 index 000000000..a5243f958 --- /dev/null +++ b/dependency-check-maven/src/it/690-threadsafety/first-b/pom.xml @@ -0,0 +1,35 @@ + + + + 4.0.0 + + org.owasp.test + threaded-parent + 1.0.0-SNAPSHOT + + first-b + jar + + + log4j + log4j + 1.2.17 + + + diff --git a/dependency-check-maven/src/it/690-threadsafety/fourth-a/pom.xml b/dependency-check-maven/src/it/690-threadsafety/fourth-a/pom.xml new file mode 100644 index 000000000..1320efbf5 --- /dev/null +++ b/dependency-check-maven/src/it/690-threadsafety/fourth-a/pom.xml @@ -0,0 +1,35 @@ + + + + 4.0.0 + + org.owasp.test + threaded-parent + 1.0.0-SNAPSHOT + + fourth-a + jar + + + log4j + log4j + 1.2.17 + + + \ No newline at end of file diff --git a/dependency-check-maven/src/it/690-threadsafety/fourth-a/src/main/webapp/WEB-INF/web.xml b/dependency-check-maven/src/it/690-threadsafety/fourth-a/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 000000000..65c96051c --- /dev/null +++ b/dependency-check-maven/src/it/690-threadsafety/fourth-a/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,26 @@ + + + + test-app + + index.html + + + diff --git a/dependency-check-maven/src/it/690-threadsafety/fourth-b/pom.xml b/dependency-check-maven/src/it/690-threadsafety/fourth-b/pom.xml new file mode 100644 index 000000000..c45db6287 --- /dev/null +++ b/dependency-check-maven/src/it/690-threadsafety/fourth-b/pom.xml @@ -0,0 +1,35 @@ + + + + 4.0.0 + + org.owasp.test + threaded-parent + 1.0.0-SNAPSHOT + + fourth-b + jar + + + log4j + log4j + 1.2.17 + + + \ No newline at end of file diff --git a/dependency-check-maven/src/it/690-threadsafety/fourth-b/src/main/webapp/WEB-INF/web.xml b/dependency-check-maven/src/it/690-threadsafety/fourth-b/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 000000000..65c96051c --- /dev/null +++ b/dependency-check-maven/src/it/690-threadsafety/fourth-b/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,26 @@ + + + + test-app + + index.html + + + diff --git a/dependency-check-maven/src/it/690-threadsafety/invoker.properties b/dependency-check-maven/src/it/690-threadsafety/invoker.properties index 75f5eb6d8..c96f2c736 100644 --- a/dependency-check-maven/src/it/690-threadsafety/invoker.properties +++ b/dependency-check-maven/src/it/690-threadsafety/invoker.properties @@ -16,4 +16,4 @@ # Copyright (c) 2014 Jeremy Long. All Rights Reserved. # -invoker.goals = install ${project.groupId}:${project.artifactId}:${project.version}:check -e -T 4 +invoker.goals = install ${project.groupId}:${project.artifactId}:${project.version}:check -e -T 8 diff --git a/dependency-check-maven/src/it/690-threadsafety/pom.xml b/dependency-check-maven/src/it/690-threadsafety/pom.xml index 9872389f0..1fbe16021 100644 --- a/dependency-check-maven/src/it/690-threadsafety/pom.xml +++ b/dependency-check-maven/src/it/690-threadsafety/pom.xml @@ -27,5 +27,13 @@ Copyright (c) 2013 Jeremy Long. All Rights Reserved. second third fourth + first-a + second-a + third-a + fourth-a + first-b + second-b + third-b + fourth-b \ No newline at end of file diff --git a/dependency-check-maven/src/it/690-threadsafety/second-a/pom.xml b/dependency-check-maven/src/it/690-threadsafety/second-a/pom.xml new file mode 100644 index 000000000..ddd40f9ae --- /dev/null +++ b/dependency-check-maven/src/it/690-threadsafety/second-a/pom.xml @@ -0,0 +1,35 @@ + + + + 4.0.0 + + org.owasp.test + threaded-parent + 1.0.0-SNAPSHOT + + second-a + jar + + + log4j + log4j + 1.2.17 + + + \ No newline at end of file diff --git a/dependency-check-maven/src/it/690-threadsafety/second-a/src/main/webapp/WEB-INF/web.xml b/dependency-check-maven/src/it/690-threadsafety/second-a/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 000000000..65c96051c --- /dev/null +++ b/dependency-check-maven/src/it/690-threadsafety/second-a/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,26 @@ + + + + test-app + + index.html + + + diff --git a/dependency-check-maven/src/it/690-threadsafety/second-b/pom.xml b/dependency-check-maven/src/it/690-threadsafety/second-b/pom.xml new file mode 100644 index 000000000..b5398f613 --- /dev/null +++ b/dependency-check-maven/src/it/690-threadsafety/second-b/pom.xml @@ -0,0 +1,35 @@ + + + + 4.0.0 + + org.owasp.test + threaded-parent + 1.0.0-SNAPSHOT + + second-b + jar + + + log4j + log4j + 1.2.17 + + + \ No newline at end of file diff --git a/dependency-check-maven/src/it/690-threadsafety/second-b/src/main/webapp/WEB-INF/web.xml b/dependency-check-maven/src/it/690-threadsafety/second-b/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 000000000..65c96051c --- /dev/null +++ b/dependency-check-maven/src/it/690-threadsafety/second-b/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,26 @@ + + + + test-app + + index.html + + + diff --git a/dependency-check-maven/src/it/690-threadsafety/third-a/pom.xml b/dependency-check-maven/src/it/690-threadsafety/third-a/pom.xml new file mode 100644 index 000000000..6470df160 --- /dev/null +++ b/dependency-check-maven/src/it/690-threadsafety/third-a/pom.xml @@ -0,0 +1,35 @@ + + + + 4.0.0 + + org.owasp.test + threaded-parent + 1.0.0-SNAPSHOT + + third-a + jar + + + log4j + log4j + 1.2.17 + + + \ No newline at end of file diff --git a/dependency-check-maven/src/it/690-threadsafety/third-a/src/main/webapp/WEB-INF/web.xml b/dependency-check-maven/src/it/690-threadsafety/third-a/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 000000000..65c96051c --- /dev/null +++ b/dependency-check-maven/src/it/690-threadsafety/third-a/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,26 @@ + + + + test-app + + index.html + + + diff --git a/dependency-check-maven/src/it/690-threadsafety/third-b/pom.xml b/dependency-check-maven/src/it/690-threadsafety/third-b/pom.xml new file mode 100644 index 000000000..2c589607c --- /dev/null +++ b/dependency-check-maven/src/it/690-threadsafety/third-b/pom.xml @@ -0,0 +1,35 @@ + + + + 4.0.0 + + org.owasp.test + threaded-parent + 1.0.0-SNAPSHOT + + third-b + jar + + + log4j + log4j + 1.2.17 + + + \ No newline at end of file diff --git a/dependency-check-maven/src/it/690-threadsafety/third-b/src/main/webapp/WEB-INF/web.xml b/dependency-check-maven/src/it/690-threadsafety/third-b/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 000000000..65c96051c --- /dev/null +++ b/dependency-check-maven/src/it/690-threadsafety/third-b/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,26 @@ + + + + test-app + + index.html + + +