Skip to content

Add missing tests for a non-empty Authenticated annotation and #2790

Add missing tests for a non-empty Authenticated annotation and

Add missing tests for a non-empty Authenticated annotation and #2790

GitHub Actions / Test Report - gradle testShardNonHibernate -i --scan --parallel failed Feb 11, 2025 in 0s

789 tests run, 770 passed, 16 skipped, 3 failed.

Annotations

Check failure on line 56 in misk/src/test/kotlin/misk/web/interceptors/ExclusiveTimingInterceptorTest.kt

See this annotation in the file changed.

@github-actions github-actions / Test Report - gradle testShardNonHibernate -i --scan --parallel

ExclusiveTimingInterceptorTest.time()

java.lang.AssertionError: 
Expecting actual:
  0.0
to be close to:
  10.0
by less than 5.0 but difference was 10.0.
(a difference of exactly 5.0 being considered valid)
Raw output
java.lang.AssertionError: 
Expecting actual:
  0.0
to be close to:
  10.0
by less than 5.0 but difference was 10.0.
(a difference of exactly 5.0 being considered valid)
	at misk.web.interceptors.ExclusiveTimingInterceptorTest.time(ExclusiveTimingInterceptorTest.kt:56)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 69 in misk/src/test/kotlin/misk/web/interceptors/MetricsInterceptorTest.kt

See this annotation in the file changed.

@github-actions github-actions / Test Report - gradle testShardNonHibernate -i --scan --parallel

MetricsInterceptorTest.responseCodes()

org.opentest4j.AssertionFailedError: 
expected: 5
 but was: 4
Raw output
org.opentest4j.AssertionFailedError: 
expected: 5
 but was: 4
	at app//misk.web.interceptors.MetricsInterceptorTest.responseCodes(MetricsInterceptorTest.kt:69)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 72 in misk/src/test/kotlin/misk/web/interceptors/MetricsInterceptorTest.kt

See this annotation in the file changed.

@github-actions github-actions / Test Report - gradle testShardNonHibernate -i --scan --parallel

MetricsInterceptorTest.responseCodes()

org.opentest4j.AssertionFailedError: 
expected: 2
 but was: 1
Raw output
org.opentest4j.AssertionFailedError: 
expected: 2
 but was: 1
	at app//misk.web.interceptors.MetricsInterceptorTest.responseCodes(MetricsInterceptorTest.kt:72)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)