Skip to content

Add support for suspending warmup tasks #2891

Add support for suspending warmup tasks

Add support for suspending warmup tasks #2891

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

1364 tests run, 1338 passed, 24 skipped, 2 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 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)