소스 검색

fix(simple_snapshot_test): enlarge reasonable index range

Yicheng Qin 12 년 전
부모
커밋
7cb126967c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/functional/simple_snapshot_test.go

+ 1 - 1
tests/functional/simple_snapshot_test.go

@@ -89,7 +89,7 @@ func TestSnapshot(t *testing.T) {
 
 
 	index, _ = strconv.Atoi(snapshots[0].Name()[2:6])
 	index, _ = strconv.Atoi(snapshots[0].Name()[2:6])
 
 
-	if index < 1010 || index > 1025 {
+	if index < 1010 || index > 1029 {
 		t.Fatal("wrong name of snapshot :", snapshots[0].Name())
 		t.Fatal("wrong name of snapshot :", snapshots[0].Name())
 	}
 	}
 }
 }