fix flaky gridstore test