Skip to content

Commit 3ca3358

Browse files
committed
bump CI timeouts
1 parent 7950eaa commit 3ca3358

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

integration/run_its.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -149,16 +149,5 @@ fi
149149

150150
StatusCodeTC=$(jq '.providers["trusted-content"].status.code' ./responses/stack.json)
151151
matchConstant "200" "$StatusCodeTC" "Check that Response code from Trusted Content is OK ( Http Status = 200)..."
152-
#StatusCodeSnyk=$(jq '.providers.snyk.status.code' ./responses/stack.json)
153-
#matchConstant "200" "$StatusCodeSnyk" "Check that Response code from Snyk Provider is OK ( Http Status = 200)..."
154-
155-
echo "RUNNING JavaScript CLI integration test for Validate Token Function With wrong token, expecting getting 401 http status code "
156-
answerAboutToken=$(testers/cli/node_modules/.bin/trustify-da-javascript-client validate-token snyk --value=veryBadTokenValue)
157-
matchConstant "401" "$answerAboutToken" "Checking That dummy Token is Invalid, Expecting Response Status of Authentication Failure( Http Status = 401)..."
158-
159-
echo "RUNNING JavaScript CLI integration test for Validate Token Function With no token at all, Expecting getting 400 http status code"
160-
answerAboutToken=$(testers/cli/node_modules/.bin/trustify-da-javascript-client validate-token snyk )
161-
matchConstant "400" "$answerAboutToken" "Checking That Token is missing, Expecting Response Status of Bad Request( Http Status = 400)..."
162-
echo "==>SUCCESS!!"
163152

164153
cleanup 0

test/providers/java_maven.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ suite('testing the java-maven data provider', async () => {
7373
})).to.eq(testCase.preferWrapper ?
7474
path.resolve(`test/providers/tst_manifests/maven/pom_with_mvn_wrapper/mvnw`) + (platform === 'win32' ? '.cmd' : '')
7575
: testCase.mvnPath)
76-
})
76+
}).timeout(10000)
7777
});
7878

7979
[

test/providers/oci_images.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ suite('testing the OCI image data provider', () => {
2020
providedSbom['metadata'] = null
2121
providedSbom['serialNumber'] = null
2222
expect(JSON.stringify(providedSbom, null, 4).trimEnd()).to.deep.equal(expectedSbom)
23-
}).timeout(10000)
23+
}).timeout(40000)
2424
});
2525

2626
[

0 commit comments

Comments
 (0)