Skip to content

Commit a257b88

Browse files
authored
Update component names to fix integration tests (#1304)
* Adding logs to get mor einfo upon test failure * More logs * trying info and debug logs * Test gradle fix * Test maven fix * Add back unmatched id and see if pipeline is still green * Update component names to match what is provided by KB
1 parent 4257241 commit a257b88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/java/com/blackduck/integration/detect/battery/docker/GradleNativeInspectorTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ void gradleRichVersions() throws IntegrationException, IOException {
114114
blackduckAssertions.checkComponentVersionNotExists("Apache Log4j", "2.22.1");
115115
blackduckAssertions.checkComponentVersionExists("graphql-java", "18.2");
116116
blackduckAssertions.checkComponentVersionNotExists("SLF4J API Module", "2.0.4");
117-
blackduckAssertions.checkComponentVersionExists("googleguava", "v29.0");
117+
blackduckAssertions.checkComponentVersionExists("google-guava", "v29.0");
118118
blackduckAssertions.checkComponentVersionNotExists("Apache Log4J API", "2.22.1");
119119

120120
}

src/test/java/com/blackduck/integration/detect/battery/docker/MavenShadedDependenciesTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void mavenShadedDependencyTest() throws IOException,IntegrationException {
4444
dockerAssertions.atLeastOneBdioFile();
4545

4646
blackduckAssertions.hasComponents("ch.randelshofer:fastdoubleparser");
47-
blackduckAssertions.hasComponents("Java Concurrency Tools Core Library");
47+
blackduckAssertions.hasComponents("JCTTools");
4848
blackduckAssertions.hasComponents("Byte Buddy (with dependencies)");
4949
}
5050
}

0 commit comments

Comments
 (0)