Skip to content

openapi (internal): Do not use runtime-reflection in UnionCodec to fix flaky tests #1993

openapi (internal): Do not use runtime-reflection in UnionCodec to fix flaky tests

openapi (internal): Do not use runtime-reflection in UnionCodec to fix flaky tests #1993

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Test Report Scala 2.12 failed Aug 6, 2023 in 0s

1612 tests run, 1594 passed, 14 skipped, 4 failed.

Annotations

Check failure on line 31 in airframe-http-codegen/src/test/scala-2/wvlet/airframe/http/codegen/GenericServiceTest.scala

See this annotation in the file changed.

@github-actions github-actions / Test Report Scala 2.12

GenericServiceTest.support F and Future return values in async clients

false didn't match with true
Raw output
wvlet.airspec.spi.AssertionFailure: false didn't match with true
	at wvlet.airspec.spi.RichAsserts$ShouldBe.matchFailure(RichAsserts.scala:93)
	at wvlet.airspec.spi.RichAsserts$ShouldBe.shouldBe(RichAsserts.scala:112)
	at wvlet.airframe.http.codegen.GenericServiceTest.$anonfun$new$1(GenericServiceTest.scala:31)
	at scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:23)
	at wvlet.airframe.LazyF0.eval(LazyF0.scala:53)
	at wvlet.airspec.AirSpecDefF0.run(AirSpecDef.scala:58)
	at wvlet.airspec.runner.AirSpecTaskRunner.runTest$1(AirSpecTaskRunner.scala:255)
	at wvlet.airspec.runner.AirSpecTaskRunner.$anonfun$runSingle$11(AirSpecTaskRunner.scala:308)
	at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)
	at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

Check failure on line 40 in airframe-http-codegen/src/test/scala-2/wvlet/airframe/http/codegen/GenericServiceTest.scala

See this annotation in the file changed.

@github-actions github-actions / Test Report Scala 2.12

GenericServiceTest.support F and Future return values in sync clients

false didn't match with true
Raw output
wvlet.airspec.spi.AssertionFailure: false didn't match with true
	at wvlet.airspec.spi.RichAsserts$ShouldBe.matchFailure(RichAsserts.scala:93)
	at wvlet.airspec.spi.RichAsserts$ShouldBe.shouldBe(RichAsserts.scala:112)
	at wvlet.airframe.http.codegen.GenericServiceTest.$anonfun$new$2(GenericServiceTest.scala:40)
	at scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:23)
	at wvlet.airframe.LazyF0.eval(LazyF0.scala:53)
	at wvlet.airspec.AirSpecDefF0.run(AirSpecDef.scala:58)
	at wvlet.airspec.runner.AirSpecTaskRunner.runTest$1(AirSpecTaskRunner.scala:255)
	at wvlet.airspec.runner.AirSpecTaskRunner.$anonfun$runSingle$11(AirSpecTaskRunner.scala:308)
	at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)
	at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

Check failure on line 42 in airframe-http-codegen/src/test/scala/wvlet/airframe/http/codegen/HttpClientGeneratorTest.scala

See this annotation in the file changed.

@github-actions github-actions / Test Report Scala 2.12

HttpClientGeneratorTest.build router

None is empty
Raw output
wvlet.airspec.spi.AssertionFailure: None is empty
	at wvlet.airspec.spi.RichAsserts$DefinedTarget$.check(RichAsserts.scala:55)
	at wvlet.airspec.spi.RichAsserts$ShouldBe.shouldBe(RichAsserts.scala:135)
	at wvlet.airframe.http.codegen.HttpClientGeneratorTest.$anonfun$new$1(HttpClientGeneratorTest.scala:42)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
	at wvlet.airframe.LazyF0.eval(LazyF0.scala:53)
	at wvlet.airspec.AirSpecDefF0.run(AirSpecDef.scala:58)
	at wvlet.airspec.runner.AirSpecTaskRunner.runTest$1(AirSpecTaskRunner.scala:255)
	at wvlet.airspec.runner.AirSpecTaskRunner.$anonfun$runSingle$11(AirSpecTaskRunner.scala:308)
	at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)
	at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

Check failure on line 105 in airframe-http-codegen/src/test/scala/wvlet/airframe/http/codegen/HttpClientGeneratorTest.scala

See this annotation in the file changed.

@github-actions github-actions / Test Report Scala 2.12

HttpClientGeneratorTest.Map client parameters to GET query strings

false didn't match with true
Raw output
wvlet.airspec.spi.AssertionFailure: false didn't match with true
	at wvlet.airspec.spi.RichAsserts$ShouldBe.matchFailure(RichAsserts.scala:93)
	at wvlet.airspec.spi.RichAsserts$ShouldBe.shouldBe(RichAsserts.scala:112)
	at wvlet.airframe.http.codegen.HttpClientGeneratorTest.$anonfun$new$9(HttpClientGeneratorTest.scala:105)
	at scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:23)
	at wvlet.airframe.LazyF0.eval(LazyF0.scala:53)
	at wvlet.airspec.AirSpecDefF0.run(AirSpecDef.scala:58)
	at wvlet.airspec.runner.AirSpecTaskRunner.runTest$1(AirSpecTaskRunner.scala:255)
	at wvlet.airspec.runner.AirSpecTaskRunner.$anonfun$runSingle$11(AirSpecTaskRunner.scala:308)
	at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)
	at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)