Skip to content

Commit

Permalink
Investigate a frequently flaky CI failure in GrpcExceptionHandlerSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
laglangyue committed Apr 13, 2024
1 parent 3dcac49 commit 878fe52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import org.scalatest.wordspec.AnyWordSpecLike

import scala.concurrent.{ ExecutionContext, Future }

class GrpcExceptionHandlerSpec
class GrpcExceptionDefaultHandleSpec
extends TestKit(ActorSystem("GrpcExceptionHandlerSpec"))
with AnyWordSpecLike
with Matchers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ class GrpcExceptionHandlerSpec extends AnyWordSpec with Matchers with ScalaFutur

val otherTypes: Seq[Throwable] = Seq(
new GrpcServiceException(status = Status.DEADLINE_EXCEEDED),
new NotImplementedError,
new UnsupportedOperationException,
new NullPointerException,
new RuntimeException,
new NotImplementedError(),
new UnsupportedOperationException(),
new NullPointerException(),
new RuntimeException(),
new StatusRuntimeException(io.grpc.Status.DEADLINE_EXCEEDED))

val executionExceptions: Seq[Throwable] =
Expand Down

0 comments on commit 878fe52

Please sign in to comment.