Skip to content

Commit

Permalink
[CON-12 Doc] Increase sleep time
Browse files Browse the repository at this point in the history
  • Loading branch information
kinwo committed May 1, 2023
1 parent f34dab2 commit b59f541
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/test/test-restart-beam.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,17 @@ runTest() {

# sleep to wait for beam to stream
printf "Sleeping to wait for Beam to update creator's allocation\n"
sleep 10
sleep 60

# check again BeamEscrow creatorClaimable and set to claimableAfterRestart
claimableAfterRestart=$(checkCreatorClaimable $EscrowId)

# if beam has restarted, claimableAfterRestart should be bigger than claimableAfterStop
if [[ $claimableAfterRestart -gt $claimableAfterStop ]];
then
printf "Beam has restarted correctly 😃\n"
printf "Beam has restarted correctly, claimable after restart is bigger than before it 😃\n"
else
printf "Beam hasn't restarted 😭, claimableAfterRestart=$claimableAfterRestart, claimableAfterStop=$claimableAfterStop\n"
printf "Beam hasn't restarted 😭, claimable after restart is smaller than or equal to before it, claimableAfterRestart=$claimableAfterRestart, claimableAfterStop=$claimableAfterStop\n"
exit 1
fi
}
Expand Down

0 comments on commit b59f541

Please sign in to comment.