Fix Java GetClientStatus integration test by wait on the future

This commit is contained in:
Vaidas Gasiunas 2023-02-22 12:46:26 +01:00
parent 6de85e7cd8
commit cd0696e1cd
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class GetClientStatusIntegrationTest {
try (Database db = fdb.open()) {
// Run a simple transaction to make sure the database is fully initialized
db.run(tr -> {
return tr.getReadVersion();
return tr.getReadVersion().join();
});
// Here we just check if a meaningful client report status is returned