feat: rate limit translation and activity endpoints (#3483) #10767
test.yml
on: push
Build backend 🏗️
3m 33s
Build frontend 🏗️
2m 50s
Install E2E dependencies ⬇️
40s
Frontend static check 🪲
3m 55s
E2E Static Check 🪲
37s
Ktlint 🪲
1m 20s
Matrix: BT 🔎
Matrix: E2E testing 🔎
Everything passed 🎉
3s
Annotations
4 errors and 1 warning
|
io.tolgee.ee.api.v2.controllers.glossary.GlossaryTermTranslationControllerActivityTest ► stores activity for glossary term translation creation():
ee/backend/tests/src/test/kotlin/io/tolgee/ee/api/v2/controllers/glossary/GlossaryTermTranslationControllerActivityTest.kt#L62
Failed test found in:
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.api.v2.controllers.glossary.GlossaryTermTranslationControllerActivityTest.xml
Error:
org.opentest4j.AssertionFailedError:
|
|
Failed Test: io.tolgee.ee.api.v2.controllers.glossary.GlossaryTermTranslationControllerActivityTest: stores activity for glossary term translation creation()
io.tolgee.ee.api.v2.controllers.glossary.GlossaryTermTranslationControllerActivityTest: stores activity for glossary term translation creation(): org.opentest4j.AssertionFailedError:
expected: GLOSSARY_TERM_TRANSLATION_UPDATE
but was: null - org.opentest4j.AssertionFailedError:
expected: GLOSSARY_TERM_TRANSLATION_UPDATE
but was: null
at app//io.tolgee.ee.api.v2.controllers.glossary.GlossaryTermTranslationControllerActivityTest.stores_activity_for_glossary_term_translation_creation$lambda$5(GlossaryTermTranslationControllerActivityTest.kt:62)
at app//io.tolgee.util.TransactionUtilKt.executeInNewTransaction$lambda$0(transactionUtil.kt:24)
at app//org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)
at app//io.tolgee.util.TransactionUtilKt.executeInNewTransaction(transactionUtil.kt:23)
at app//io.tolgee.util.TransactionUtilKt.executeInNewTransaction$default(transactionUtil.kt:11)
at app//io.tolgee.AbstractSpringTest.executeInNewTransaction(AbstractSpringTest.kt:263)
at app//io.tolgee.ee.api.v2.controllers.glossary.GlossaryTermTranslationControllerActivityTest.stores activity for glossary term translation creation(GlossaryTermTranslationControllerActivityTest.kt:55)
at java.base@21.0.10/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base@21.0.10/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:767)
at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$8(TestMethodTestDescriptor.java:217)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:156)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
at app//org.junit.platform.engine.support.hierarchical.Node.around(N
|
|
io.tolgee.websocket.WebsocketAuthenticationTest ► unauthenticated with invalid JWT():
backend/misc/src/main/kotlin/io/tolgee/fixtures/waitFor.kt#L20
Failed test found in:
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.websocket.WebsocketAuthenticationTest.xml
Error:
io.tolgee.fixtures.WaitNotSatisfiedException
|
|
Failed Test: io.tolgee.websocket.WebsocketAuthenticationTest: unauthenticated with invalid JWT()
io.tolgee.websocket.WebsocketAuthenticationTest: unauthenticated with invalid JWT(): io.tolgee.fixtures.WaitNotSatisfiedException - io.tolgee.fixtures.WaitNotSatisfiedException
at app//io.tolgee.fixtures.WaitForKt.waitFor(waitFor.kt:20)
at app//io.tolgee.fixtures.WaitForKt.waitFor$default(waitFor.kt:5)
at app//io.tolgee.websocket.WebsocketTestHelper.waitForAuthenticationStatus(WebsocketTestHelper.kt:195)
at app//io.tolgee.websocket.WebsocketTestHelper.waitForUnauthenticated(WebsocketTestHelper.kt:190)
at app//io.tolgee.websocket.WebsocketAuthenticationTest.testItIsUnauthenticatedWithAuth(WebsocketAuthenticationTest.kt:184)
at app//io.tolgee.websocket.WebsocketAuthenticationTest.unauthenticated with invalid JWT(WebsocketAuthenticationTest.kt:52)
at java.base@21.0.10/java.lang.reflect.Method.invoke(Method.java:580)
at java.base@21.0.10/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base@21.0.10/java.util.ArrayList.forEach(ArrayList.java:1596)
|
|
BT 🔎 (server-app:runStandardTests)
Test report summary exceeded limit of 65535 bytes and will be trimmed
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
backend
Expired
|
252 MB |
sha256:4c9b761982d494da7cacedbd1868cf216d62e4110475f26341b254aa6d553539
|
|
|
backend_test_reports_data_test
Expired
|
153 KB |
sha256:837b1140f4c5baddffde94da81c770fbf2a17d83ce96e08bc5013d26c39e9cdc
|
|
|
backend_test_reports_ee-test_test
Expired
|
2.97 MB |
sha256:80bab80efc73d7a76b108f57f4f080e70531d88cfd4474b99622e7953ffd33d2
|
|
|
backend_test_reports_ktlint_test
Expired
|
8.01 KB |
sha256:5f41627bf27cb1868568e364c8f2efa81d7868197f2da2a584b14c214ec510fc
|
|
|
backend_test_reports_security_test
Expired
|
27.3 KB |
sha256:8da729c8c23b2b9163f3238a087e8cfeab7f826daaf49773bfe449aa3bb6a8da
|
|
|
backend_test_reports_server-app_runContextRecreatingTests
Expired
|
273 KB |
sha256:2f647c2fab8a28a03e81352994b8c444361b5026b83442b13655ad2dadc8a6ce
|
|
|
backend_test_reports_server-app_runStandardTests
Expired
|
813 KB |
sha256:6104b2023f41a6eaf422a7543d076d0ab4f8f7fcdd1aba9d7e6ca252b2970df9
|
|
|
backend_test_reports_server-app_runWebsocketTests
Expired
|
110 KB |
sha256:a053fbf8aae8e046da691e9e47923cb6901c81d063bb2221c2bbca7cf6d6a99f
|
|
|
backend_test_reports_server-app_runWithoutEeTests
Expired
|
72.9 KB |
sha256:e85c848eab86db60ae2f167c02d47bec24e0f7fb3af4bc6af0e9cbf521d1957f
|
|
|
e2e_deps
Expired
|
181 MB |
sha256:8fb1243ce1f714879bb5b7fcf923ba04748ceec293341281a2cace8ce4135fd2
|
|
|
webapp
Expired
|
2.71 MB |
sha256:4f3152258294e8b1249e4475a8bf8fbdb4aa88e4a30ddffbb4caa6edf25880d5
|
|