Commit 80650a7
committed
MB-30167: Make test_create_new_checkpoint more robust
This test intermittently fails with the following error:
Test failed: `' (Expected `3', got `4' - Last closed checkpoint Id for VB 0 should be 3)
The test itself seems correct, however it lacks a number of
intermediate checks; the final check of the checkpoint IDs could have
differed in a number of places ealier.
Re-write the test to be more strict / controlled; which should
hopefully avoid any intermitent failures.
Change-Id: I6dc7e3f441b12a2ec1d92ab0df6eabbec2035139
Reviewed-on: http://review.couchbase.org/95812
Reviewed-by: Tim Bradgate <tim.bradgate@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>1 parent 9df3480 commit 80650a7
1 file changed
+21
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
45 | 53 | | |
46 | 54 | | |
47 | 55 | | |
| |||
257 | 265 | | |
258 | 266 | | |
259 | 267 | | |
260 | | - | |
| 268 | + | |
261 | 269 | | |
262 | 270 | | |
263 | 271 | | |
| |||
0 commit comments