refactor: make limit checkers lazy and add unit tests #10779
test.yml
on: pull_request
Build backend 🏗️
1m 32s
Build frontend 🏗️
2m 36s
Install E2E dependencies ⬇️
41s
Frontend static check 🪲
3m 52s
E2E Static Check 🪲
41s
Ktlint 🪲
55s
Matrix: BT 🔎
Matrix: E2E testing 🔎
Everything passed 🎉
4s
Annotations
12 errors and 1 warning
|
io.tolgee.ee.service.branching.BranchMergeServiceTest ► apply merge - labels merge correctly():
ee/backend/app/src/main/kotlin/io/tolgee/ee/service/branching/BranchServiceImpl.kt#L198
Failed test found in:
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.service.branching.BranchMergeServiceTest.xml
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.service.branching.BranchMergeServiceTest.xml
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.service.branching.BranchMergeServiceTest.xml
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.service.branching.BranchMergeServiceTest.xml
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.service.branching.BranchMergeServiceTest.xml
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.service.branching.BranchMergeServiceTest.xml
Error:
io.tolgee.exceptions.BadRequestException: branch_merge_revision_not_valid null
|
|
Failed Test: io.tolgee.ee.service.branching.BranchMergeServiceTest: apply merge - labels merge correctly()
io.tolgee.ee.service.branching.BranchMergeServiceTest: apply merge - labels merge correctly(): io.tolgee.exceptions.BadRequestException: branch_merge_revision_not_valid null - io.tolgee.exceptions.BadRequestException: branch_merge_revision_not_valid null
at app//io.tolgee.ee.service.branching.BranchServiceImpl.applyMerge(BranchServiceImpl.kt:198)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:360)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:728)
at app//io.tolgee.ee.service.branching.BranchServiceImpl$$SpringCGLIB$$0.applyMerge(<generated>)
at app//io.tolgee.service.branching.BranchService$DefaultImpls.applyMerge$default(BranchService.kt:115)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.applyMerge(BranchMergeServiceTest.kt:549)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.dryRunAndMergeFeatureBranch(BranchMergeServiceTest.kt:553)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.apply merge - labels merge correctly(BranchMergeServiceTest.kt:325)
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.invokeTestMetho
|
|
Failed Test: io.tolgee.ee.service.branching.BranchMergeServiceTest: apply merge - labels merge correctly()
io.tolgee.ee.service.branching.BranchMergeServiceTest: apply merge - labels merge correctly(): io.tolgee.exceptions.BadRequestException: branch_merge_revision_not_valid null - io.tolgee.exceptions.BadRequestException: branch_merge_revision_not_valid null
at app//io.tolgee.ee.service.branching.BranchServiceImpl.applyMerge(BranchServiceImpl.kt:198)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:360)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:728)
at app//io.tolgee.ee.service.branching.BranchServiceImpl$$SpringCGLIB$$0.applyMerge(<generated>)
at app//io.tolgee.service.branching.BranchService$DefaultImpls.applyMerge$default(BranchService.kt:115)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.applyMerge(BranchMergeServiceTest.kt:549)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.dryRunAndMergeFeatureBranch(BranchMergeServiceTest.kt:553)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.apply merge - labels merge correctly(BranchMergeServiceTest.kt:325)
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.invokeTestMetho
|
|
Failed Test: io.tolgee.ee.service.branching.BranchMergeServiceTest: apply merge - labels merge correctly()
io.tolgee.ee.service.branching.BranchMergeServiceTest: apply merge - labels merge correctly(): io.tolgee.exceptions.BadRequestException: branch_merge_revision_not_valid null - io.tolgee.exceptions.BadRequestException: branch_merge_revision_not_valid null
at app//io.tolgee.ee.service.branching.BranchServiceImpl.applyMerge(BranchServiceImpl.kt:198)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:360)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:728)
at app//io.tolgee.ee.service.branching.BranchServiceImpl$$SpringCGLIB$$0.applyMerge(<generated>)
at app//io.tolgee.service.branching.BranchService$DefaultImpls.applyMerge$default(BranchService.kt:115)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.applyMerge(BranchMergeServiceTest.kt:549)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.dryRunAndMergeFeatureBranch(BranchMergeServiceTest.kt:553)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.apply merge - labels merge correctly(BranchMergeServiceTest.kt:325)
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.invokeTestMetho
|
|
Failed Test: io.tolgee.ee.service.branching.BranchMergeServiceTest: apply merge - labels merge correctly()
io.tolgee.ee.service.branching.BranchMergeServiceTest: apply merge - labels merge correctly(): io.tolgee.exceptions.BadRequestException: branch_merge_revision_not_valid null - io.tolgee.exceptions.BadRequestException: branch_merge_revision_not_valid null
at app//io.tolgee.ee.service.branching.BranchServiceImpl.applyMerge(BranchServiceImpl.kt:198)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:360)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:728)
at app//io.tolgee.ee.service.branching.BranchServiceImpl$$SpringCGLIB$$0.applyMerge(<generated>)
at app//io.tolgee.service.branching.BranchService$DefaultImpls.applyMerge$default(BranchService.kt:115)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.applyMerge(BranchMergeServiceTest.kt:549)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.dryRunAndMergeFeatureBranch(BranchMergeServiceTest.kt:553)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.apply merge - labels merge correctly(BranchMergeServiceTest.kt:325)
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.invokeTestMetho
|
|
Failed Test: io.tolgee.ee.service.branching.BranchMergeServiceTest: apply merge - labels merge correctly()
io.tolgee.ee.service.branching.BranchMergeServiceTest: apply merge - labels merge correctly(): io.tolgee.exceptions.BadRequestException: branch_merge_revision_not_valid null - io.tolgee.exceptions.BadRequestException: branch_merge_revision_not_valid null
at app//io.tolgee.ee.service.branching.BranchServiceImpl.applyMerge(BranchServiceImpl.kt:198)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:360)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:728)
at app//io.tolgee.ee.service.branching.BranchServiceImpl$$SpringCGLIB$$0.applyMerge(<generated>)
at app//io.tolgee.service.branching.BranchService$DefaultImpls.applyMerge$default(BranchService.kt:115)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.applyMerge(BranchMergeServiceTest.kt:549)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.dryRunAndMergeFeatureBranch(BranchMergeServiceTest.kt:553)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.apply merge - labels merge correctly(BranchMergeServiceTest.kt:325)
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.invokeTestMetho
|
|
Failed Test: io.tolgee.ee.service.branching.BranchMergeServiceTest: apply merge - labels merge correctly()
io.tolgee.ee.service.branching.BranchMergeServiceTest: apply merge - labels merge correctly(): io.tolgee.exceptions.BadRequestException: branch_merge_revision_not_valid null - io.tolgee.exceptions.BadRequestException: branch_merge_revision_not_valid null
at app//io.tolgee.ee.service.branching.BranchServiceImpl.applyMerge(BranchServiceImpl.kt:198)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:360)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at app//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:380)
at app//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at app//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at app//org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:728)
at app//io.tolgee.ee.service.branching.BranchServiceImpl$$SpringCGLIB$$0.applyMerge(<generated>)
at app//io.tolgee.service.branching.BranchService$DefaultImpls.applyMerge$default(BranchService.kt:115)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.applyMerge(BranchMergeServiceTest.kt:549)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.dryRunAndMergeFeatureBranch(BranchMergeServiceTest.kt:553)
at app//io.tolgee.ee.service.branching.BranchMergeServiceTest.apply merge - labels merge correctly(BranchMergeServiceTest.kt:325)
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.invokeTestMetho
|
|
BT 🔎 (ee-test:test)
Final attempt failed. Child_process exited with error code 1
|
|
io.tolgee.api.v2.controllers.batch.BatchJobManagementControllerCancellationTest ► cancels a job():
backend/testing/src/main/kotlin/io/tolgee/fixtures/statusExpectations.kt#L19
Failed test found in:
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.api.v2.controllers.batch.BatchJobManagementControllerCancellationTest.xml
Error:
java.lang.AssertionError: Status expected:<200> but was:<400>
|
|
Failed Test: io.tolgee.api.v2.controllers.batch.BatchJobManagementControllerCancellationTest: cancels a job()
io.tolgee.api.v2.controllers.batch.BatchJobManagementControllerCancellationTest: cancels a job(): java.lang.AssertionError: Status expected:<200> but was:<400> - java.lang.AssertionError: Status expected:<200> but was:<400>
at org.springframework.test.util.AssertionErrors.fail(AssertionErrors.java:61)
at org.springframework.test.util.AssertionErrors.assertEquals(AssertionErrors.java:128)
at org.springframework.test.web.servlet.result.StatusResultMatchers.lambda$matcher$9(StatusResultMatchers.java:640)
at org.springframework.test.web.servlet.MockMvc$1.andExpect(MockMvc.java:214)
at io.tolgee.fixtures.StatusExpectationsKt._get_andIsOk_$lambda$0(statusExpectations.kt:19)
at io.tolgee.fixtures.StatusExpectationsKt.tryPrettyPrinting(statusExpectations.kt:74)
at io.tolgee.fixtures.StatusExpectationsKt.getAndIsOk(statusExpectations.kt:19)
at io.tolgee.api.v2.controllers.batch.BatchJobManagementControllerCancellationTest.cancels_a_job$lambda$4(BatchJobManagementControllerCancellationTest.kt:88)
at io.tolgee.util.BatchDumper.finallyDump(BatchDumper.kt:75)
at io.tolgee.api.v2.controllers.batch.BatchJobManagementControllerCancellationTest.cancels a job(BatchJobManagementControllerCancellationTest.kt:49)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
|
BT 🔎 (server-app:runStandardTests)
Final attempt failed. Child_process exited with error code 1
|
|
Everything passed 🎉
Process completed with exit code 1.
|
|
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
|
248 MB |
sha256:2c7066384b124495c77cf59cf7c3a1a2ee3f71b21752796fb6833fa7b3cf36bb
|
|
|
backend_test_reports_data_test
Expired
|
153 KB |
sha256:3486b507cfd5ef7bf2461921dc1c227bb873afce27705a24ae1e740dc834cecd
|
|
|
backend_test_reports_ee-test_test
Expired
|
3.01 MB |
sha256:c2de6225e2d1de6634d47f1653bc3c90c0cb4570efd3b79a65e67ee46a9cfa8f
|
|
|
backend_test_reports_ktlint_test
Expired
|
8.01 KB |
sha256:bbd9c676e469dc6f6a2dcb2128868335651031b1e04b040b609bca24edfb71a4
|
|
|
backend_test_reports_security_test
Expired
|
27.2 KB |
sha256:972be41b6dbf19dc7dbf1ca6bc8409b2e35bfdddf5f1a604ba315b8ec3c4cc3a
|
|
|
backend_test_reports_server-app_runContextRecreatingTests
Expired
|
273 KB |
sha256:b848094e9308dd501e1f3e4fdb9e6a752fa90b807b4acf2124dfdebec809990d
|
|
|
backend_test_reports_server-app_runStandardTests
Expired
|
814 KB |
sha256:a4d0c6e3e393b08af7785c39fc56c0daf87dc06693202edc174b4547d6e39598
|
|
|
backend_test_reports_server-app_runWebsocketTests
Expired
|
111 KB |
sha256:31789c130f7a4bab542834b888d79cd066dfb7261a8c4cf9a746c6bd47865db2
|
|
|
backend_test_reports_server-app_runWithoutEeTests
Expired
|
72.9 KB |
sha256:466596ae3bbfacc4f93f9bf8e22d269d8b75933f4caaa4cf38a95d3067c4c08c
|
|
|
e2e_deps
Expired
|
181 MB |
sha256:fe8af910f75ae8fb614f3bed5b00cf27780138112c7f5051e43fd4cc5bc4f120
|
|
|
webapp
Expired
|
2.72 MB |
sha256:97fb1c8e40898b7296fd3bb52c81af28f196e5704016c27ac2899b64be5e2f8c
|
|