Browse Source

fix(simple_snapshot_test): enlarge reasonable index range

Yicheng Qin 11 years ago
parent
commit
fc77b3e9e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/functional/simple_snapshot_test.go

+ 1 - 1
tests/functional/simple_snapshot_test.go

@@ -56,7 +56,7 @@ func TestSnapshot(t *testing.T) {
 
 	index, _ := strconv.Atoi(snapshots[0].Name()[2:5])
 
-	if index < 503 || index > 515 {
+	if index < 503 || index > 516 {
 		t.Fatal("wrong name of snapshot :", snapshots[0].Name())
 	}