testRywLifetime fails below API version 630

This commit is contained in:
Evan Tschannen 2020-09-22 20:18:15 -07:00
parent e0fbadfeb5
commit 814df222b9
1 changed files with 4 additions and 0 deletions

View File

@ -119,6 +119,10 @@ struct SpecialKeySpaceCorrectnessWorkload : TestWorkload {
Future<Void> f;
{
ReadYourWritesTransaction ryw{ cx->clone() };
if(!ryw->getDatabase()->apiVersionAtLeast(630)) {
//This test is not valid for API versions smaller than 630
return;
}
f = success(ryw.get(LiteralStringRef("\xff\xff/status/json")));
TEST(!f.isReady());
}