CID-3408: Handle secondary rate limit #92
52 passed, 0 failed and 0 skipped
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.config.WebSocketClientConfigTests.xml
1 tests were completed in 3s with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.config.WebSocketClientConfigTests | 1β | 3s |
β Β net.leanix.githubagent.config.WebSocketClientConfigTests
β
initSession should fail after max retry attempts()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.controllers.GitHubWebhookControllerTest.xml
3 tests were completed in 478ms with 3 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.controllers.GitHubWebhookControllerTest | 3β | 478ms |
β Β net.leanix.githubagent.controllers.GitHubWebhookControllerTest
β
should return 400 if missing webhook secret when event had signature()
β
should process installation created event successfully()
β
should return 202 if webhook event is processed successfully()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.GitHubAgentApplicationTests.xml
1 tests were completed in 829ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.GitHubAgentApplicationTests | 1β | 829ms |
β Β net.leanix.githubagent.GitHubAgentApplicationTests
β
contextLoads()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.handler.ArtifactDownloadHandlerTest.xml
3 tests were completed in 226ms with 3 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.handler.ArtifactDownloadHandlerTest | 3β | 226ms |
β Β net.leanix.githubagent.handler.ArtifactDownloadHandlerTest
β
it should receive message from server and not send empty artifact()
β
it should receive message from server and send artifact()
β
it should receive message from server and send artifact when artifact name is null()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.listener.ApplicationReadyListenerTest.xml
1 tests were completed in 101ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.listener.ApplicationReadyListenerTest | 1β | 101ms |
β Β net.leanix.githubagent.listener.ApplicationReadyListenerTest
β
should start the agent process()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.GitHubAPIServiceTest.xml
4 tests were completed in 199ms with 4 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.GitHubAPIServiceTest | 4β | 199ms |
β Β net.leanix.githubagent.services.GitHubAPIServiceTest
β
test getPaginatedOrganizations with one page()
β
test getPaginatedInstallations with multiple pages()
β
test getPaginatedInstallations with one page()
β
test getPaginatedOrganizations with multiple pages()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.GitHubAuthenticationServiceTest.xml
3 tests were completed in 693ms with 3 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.GitHubAuthenticationServiceTest | 3β | 693ms |
β Β net.leanix.githubagent.services.GitHubAuthenticationServiceTest
β
generateJwtToken should send error log when throwing an exception()
β
generateJwtToken with invalid data should throw exception()
β
generateJwtToken with valid data should not throw exception()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.GitHubEnterpriseServiceTest.xml
5 tests were completed in 72ms with 5 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.GitHubEnterpriseServiceTest | 5β | 72ms |
β Β net.leanix.githubagent.services.GitHubEnterpriseServiceTest
β
validateGithubAppResponse with correct permissions should not throw exception()
β
validateGithubAppResponse with missing permissions should throw exception()
β
verifyJwt with valid jwt should not throw exception()
β
verifyJwt with invalid jwt should throw exception()
β
validateGithubAppResponse with missing events should throw exception()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.GitHubScanningServiceTest.xml
10 tests were completed in 417ms with 10 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.GitHubScanningServiceTest | 10β | 417ms |
β Β net.leanix.githubagent.services.GitHubScanningServiceTest
β
scanGitHubResources should not send manifest files over WebSocket for manifest files with wrong name()
β
scanGitHubResources should skip organizations without correct permissions and events()
β
scanGitHubResources should throw JwtTokenNotFound when jwtToken is expired()
β
scanGitHubResources should handle empty installations()
β
scanGitHubResources should send repositories over WebSocket()
β
scanGitHubResources should not send repositories and manifest files over WebSocket for archived repos()
β
scanGitHubResources should send repositories and manifest files over WebSocket()
β
scanGitHubResources should send organizations over WebSocket()
β
scanGitHubResources should accept manifest files with case ignored()
β
scanGitHubResources should send manifest files with empty path if the file is in the root directory()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.GitHubStartServiceTest.xml
1 tests were completed in 79ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.GitHubStartServiceTest | 1β | 79ms |
β Β net.leanix.githubagent.services.GitHubStartServiceTest
β
should start syncLog and send GitHub App name()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.GitHubWebhookServiceTest.xml
5 tests were completed in 37ms with 5 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.GitHubWebhookServiceTest | 5β | 37ms |
β Β net.leanix.githubagent.services.GitHubWebhookServiceTest
β
should throw WebhookSecretNotSetException when signature is present but secret is not set()
β
should not process unsupported event type()
β
should throw InvalidEventSignatureException for invalid signature()
β
should not process event if unknown host()
β
should process supported event type successfully()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.LeanIXAuthServiceTest.xml
1 tests were completed in 110ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.LeanIXAuthServiceTest | 1β | 110ms |
β Β net.leanix.githubagent.services.LeanIXAuthServiceTest
β
getBearerToken should return valid token()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.WebhookEventServiceTest.xml
13 tests were completed in 978ms with 13 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.WebhookEventServiceTest | 13β | 978ms |
β Β net.leanix.githubagent.services.WebhookEventServiceTest
β
should send updates for yml manifest file()
β
should not process push event with wrong name()
β
should handle manifest file removal in subdirectory()
β
should wait for active scan to finish before starting scanning new org()
β
should process push event()
β
should handle manifest file in subdirectory()
β
should send all events of type other than push to backend without processing()
β
should accept manifest files with case ignore()
β
should ignore push events without a head commit()
β
should send the org to the backend when an new installation is created()
β
should handle installation repositories event()
β
should handle push event only with supported YAML extension()
β
should handle push event with multiple added and modified files()
β Β /home/runner/work/leanix-github-agent/leanix-github-agent/build/test-results/test/TEST-net.leanix.githubagent.services.WebSocketServiceTests.xml
1 tests were completed in 4ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| net.leanix.githubagent.services.WebSocketServiceTests | 1β | 4ms |
β Β net.leanix.githubagent.services.WebSocketServiceTests
β
initSession should initialize stompSession successfully()