Skip to content

Commit 0a4fe03

Browse files
committed
Fix tests. Improve logging
1 parent 744bc7f commit 0a4fe03

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

hack/examples/gradle-v0.1.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,6 @@ spec:
297297
imagePullPolicy: Always
298298
script: |
299299
/opt/jboss/container/java/run/run-java.sh analyse-dependencies path $(workspaces.source.path)/$(params.CONTEXT_DIR)/$(params.DEPENDENCY_ANALYSER_PATH) \
300-
-s $(workspaces.source.path)/$(params.CONTEXT_DIR)/$(params.DEPENDENCY_ANALYSER_PATH)/java-sbom.json \
301300
-c "$(results.dependencies.path)" \
302301
-u "$(results.untrusted-dependencies.path)" \
303302
--task-run-name $(context.taskRun.name) \

hack/examples/maven-v0.2.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ spec:
194194
imagePullPolicy: Always
195195
script: |
196196
/opt/jboss/container/java/run/run-java.sh analyse-dependencies path $(workspaces.source.path)/$(params.CONTEXT_DIR)/$(params.DEPENDENCY_ANALYSER_PATH) \
197-
-s $(workspaces.source.path)/$(params.CONTEXT_DIR)/$(params.DEPENDENCY_ANALYSER_PATH)/java-sbom.json \
198197
-c "$(results.dependencies.path)" \
199198
-u "$(results.untrusted-dependencies.path)" \
200199
--task-run-name $(context.taskRun.name) \

openshift-with-appstudio-test/e2e/util.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,13 @@ func setupE2E(t *testing.T, namespace string) *testArgs {
326326
}
327327
_, err = jvmClient.JvmbuildserviceV1alpha1().JBSConfigs(ta.ns).Create(context.TODO(), &jbsConfig, metav1.CreateOptions{})
328328
if err != nil {
329+
fmt.Printf("Problem creating JBSConfig %#v \n", err)
329330
debugAndFailTest(ta, err.Error())
330331
}
332+
time.Sleep(time.Second * 10)
331333
err = waitForCache(ta)
332334
if err != nil {
335+
fmt.Printf("Problem waiting for cache %#v \n", err)
333336
debugAndFailTest(ta, err.Error())
334337
}
335338
return ta
@@ -1109,11 +1112,7 @@ func setupMinikube(t *testing.T, namespace string) *testArgs {
11091112
fmt.Printf("Problem creating JBSConfig %#v \n", err)
11101113
debugAndFailTest(ta, err.Error())
11111114
}
1112-
11131115
time.Sleep(time.Second * 10)
1114-
1115-
dumpPodDetails(ta)
1116-
11171116
err = waitForCache(ta)
11181117
if err != nil {
11191118
fmt.Printf("Problem waiting for cache %#v \n", err)

0 commit comments

Comments
 (0)