We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf2ca1e commit 98d3416Copy full SHA for 98d3416
raft/src/test/scala/zio/raft/RaftIntegrationSpec.scala
@@ -165,10 +165,12 @@ object RaftIntegrationSpec extends ZIOSpecDefault:
165
_ <- r1.sendCommand(Increase)
166
167
168
- readResult <- r1.readState
+ readResult1 <- r1.readState
169
170
171
- yield assertTrue(readResult == 3)
+
172
+ readResult2 <- r1.readState
173
+ yield assertTrue(readResult1 == 3 && readResult2 == 4)
174
},
175
test("read returns the correct state when there are no writes") {
176
for
0 commit comments