1
0
Fork 0

Fixed traverser test. Which has two possible results

This commit is contained in:
Michael Hackstein 2016-09-08 17:07:12 +02:00
parent 93bf48cc6e
commit adec2b1c50
1 changed files with 6 additions and 1 deletions

View File

@ -1936,7 +1936,12 @@ function complexFilteringSuite () {
// 2 Edge Lookups (A)
// 4 Edge Lookups (2 B) (2 D)
// 2 Primary Lookups (C, F)
assertEqual(stats.scannedIndex, 9);
// It may be that B or D are fetched accidentially
// they may be inserted in the vertexToFetch list, which
// lazy loads all vertices in it.
if (stats.scannedIndex != 8) {
assertEqual(stats.scannedIndex, 9);
}
}
else {
// 2 Edge Lookups (A)