Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Automations not exclusive for project #2049

Merged
merged 3 commits into from
Dec 28, 2023

chore: Fix test

37448db
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix: Automations not exclusive for project #2049

chore: Fix test
37448db
Select commit
Loading
Failed to load commit list.
GitHub Actions / Backend Tests succeeded Dec 28, 2023 in 0s

Backend Tests ✅

Tests passed successfully

Report Passed Failed Skipped Time
backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.batch.BatchJobsGeneralWithoutRedisTest.xml 11✅ 23s
backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.batch.BatchJobsGeneralWithRedisTest.xml 12✅ 34s
backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml 5✅ 4s
backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml 5✅ 5s

✅ backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.batch.BatchJobsGeneralWithoutRedisTest.xml

11 tests were completed in 23s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.batch.BatchJobsGeneralWithoutRedisTest 11✅ 23s

✅ io.tolgee.batch.BatchJobsGeneralWithoutRedisTest

✅ it locks the single job for project()
✅ debounces job()
✅ doesn't lock non-exclusive job()
✅ cancels the job()
✅ retries failed with generic exception()
✅ retries failed with RequeueWithTimeoutException()
✅ correctly reports failed test when FailedDontRequeueException thrown()
✅ executes operation()
✅ retries and fails on management exceptions issues()
✅ publishes progress of single chunk job()
✅ retrying works with error keys()

✅ backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.batch.BatchJobsGeneralWithRedisTest.xml

12 tests were completed in 34s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.batch.BatchJobsGeneralWithRedisTest 12✅ 34s

✅ io.tolgee.batch.BatchJobsGeneralWithRedisTest

✅ it locks the single job for project()
✅ debounces job()
✅ doesn't lock non-exclusive job()
✅ cancels the job()
✅ retries failed with generic exception()
✅ retries failed with RequeueWithTimeoutException()
✅ correctly reports failed test when FailedDontRequeueException thrown()
✅ executes operation()
✅ retries and fails on management exceptions issues()
✅ publishes progress of single chunk job()
✅ retrying works with error keys()
✅ removes from queue using event()

✅ backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithoutRedisTest.xml

5 tests were completed in 4s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.websocket.WebsocketWithoutRedisTest 5✅ 4s

✅ io.tolgee.websocket.WebsocketWithoutRedisTest

✅ notifies on key modification()
✅ doesn't subscribe without permissions()
✅ notifies on key deletion()
✅ notifies on key creation()
✅ notifies on translation modification()

✅ backend/app/build/test-results/runWebsocketTests/TEST-io.tolgee.websocket.WebsocketWithRedisTest.xml

5 tests were completed in 5s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.tolgee.websocket.WebsocketWithRedisTest 5✅ 5s

✅ io.tolgee.websocket.WebsocketWithRedisTest

✅ notifies on key modification()
✅ doesn't subscribe without permissions()
✅ notifies on key deletion()
✅ notifies on key creation()
✅ notifies on translation modification()