forked from TrueCloudLab/neoneo-go
rpc/server: fix small bug in subscription test
This commit is contained in:
parent
af16519413
commit
e8eb177c64
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ func TestSubscriptions(t *testing.T) {
|
||||||
resp := getNotification(t, respMsgs)
|
resp := getNotification(t, respMsgs)
|
||||||
require.Equal(t, response.ExecutionEventID, resp.Event)
|
require.Equal(t, response.ExecutionEventID, resp.Event)
|
||||||
for {
|
for {
|
||||||
resp := getNotification(t, respMsgs)
|
resp = getNotification(t, respMsgs)
|
||||||
if resp.Event != response.NotificationEventID {
|
if resp.Event != response.NotificationEventID {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue