File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -803,7 +803,7 @@ func TestSkeletonSyncRetrievals(t *testing.T) {
803
803
}
804
804
805
805
waitStart := time .Now ()
806
- for waitTime := 20 * time .Millisecond ; time .Since (waitStart ) < time .Second ; waitTime = waitTime * 2 {
806
+ for waitTime := 20 * time .Millisecond ; time .Since (waitStart ) < 2 * time .Second ; waitTime = waitTime * 2 {
807
807
time .Sleep (waitTime )
808
808
// Check the post-init end state if it matches the required results
809
809
json .Unmarshal (rawdb .ReadSkeletonSyncStatus (db ), & progress )
@@ -855,7 +855,7 @@ func TestSkeletonSyncRetrievals(t *testing.T) {
855
855
return nil
856
856
}
857
857
waitStart = time .Now ()
858
- for waitTime := 20 * time .Millisecond ; time .Since (waitStart ) < time .Second ; waitTime = waitTime * 2 {
858
+ for waitTime := 20 * time .Millisecond ; time .Since (waitStart ) < 2 * time .Second ; waitTime = waitTime * 2 {
859
859
time .Sleep (waitTime )
860
860
// Check the post-init end state if it matches the required results
861
861
json .Unmarshal (rawdb .ReadSkeletonSyncStatus (db ), & progress )
You can’t perform that action at this time.
0 commit comments