Skip to content

Commit

Permalink
GEODE-7982: Close the client first in rolling upgrade test
Browse files Browse the repository at this point in the history
To prevent suspect strings from a background thread in the client, close the
client before the locator in this test.
  • Loading branch information
upthewaterspout committed Apr 21, 2020
1 parent a3f3594 commit ecadaf7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ public void test()
// Execute a query on the client and verify the results
client.invoke(() -> verifyLuceneQueryResults(regionName, numObjects));
} finally {
invokeRunnableInVMs(true, invokeStopLocator(), locator);
invokeRunnableInVMs(true, invokeCloseCache(), client, server2);
invokeRunnableInVMs(true, invokeStopLocator(), locator);
}
}
}

0 comments on commit ecadaf7

Please sign in to comment.