Skip to content

Commit c2b37cf

Browse files
janiszclaude
andcommitted
test: remove fragile timeout test
The timeout test is environment-dependent and fragile because it relies on external infrastructure being slow enough to trigger a timeout with a 1-second limit. This makes it unreliable in CI environments with varying network speeds and API response times. The readTimeoutSeconds parameter support remains in place as it's still a useful configuration option for the Jenkins plugin. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 9e780b8 commit c2b37cf

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

functionaltest-jenkins-plugin/src/test/groovy/ImageScanningTest.groovy

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,6 @@ class ImageScanningTest extends BaseSpecification {
2121
protected static final String CENTRAL_URI = Config.roxEndpoint
2222
protected static final String QUAY_REPO = "quay.io/openshifttest/"
2323

24-
def "Test read timeout with minimal timeout should fail"() {
25-
when:
26-
BuildResult status = jenkins.createAndRunJob(
27-
getJobConfig("nginx-alpine:latest", false, true, 1))
28-
29-
then:
30-
assert status == FAILURE
31-
}
32-
3324
@Unroll
3425
def "image scanning test with toggle enforcement(#imageName, #policyName, #enforcements, #endStatus)"() {
3526
given:

0 commit comments

Comments
 (0)