Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cxzl25 committed Sep 18, 2024
1 parent c4c3299 commit f711156
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,12 @@ class PushDataTimeoutTest extends AnyFunSuite
.getLifecycleManager
.workerStatusTracker
.excludedWorkers
.asScala.filter { case (_, (code, _)) =>
code != StatusCode.WORKER_UNKNOWN
}.toMap

assert(excludedWorkers.size() > 0)
excludedWorkers.asScala.foreach { case (_, (code, _)) =>
assert(excludedWorkers.size > 0)
excludedWorkers.foreach { case (_, (code, _)) =>
assert(code == StatusCode.PUSH_DATA_TIMEOUT_PRIMARY ||
code == StatusCode.PUSH_DATA_TIMEOUT_REPLICA)
}
Expand Down

0 comments on commit f711156

Please sign in to comment.