Skip to content

Commit

Permalink
Fix io.trino.plugin.hive.metastore.glue.TestHiveGlueMetastore#testGet…
Browse files Browse the repository at this point in the history
…DatabasesLogsStats
  • Loading branch information
homar authored and findepi committed Feb 25, 2022
1 parent 03a4d53 commit 7eb9c57
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ public void testGetDatabasesLogsStats()
double initialCallCount = stats.getGetDatabases().getTime().getAllTime().getCount();
long initialFailureCount = stats.getGetDatabases().getTotalFailures().getTotalCount();
getMetastoreClient().getAllDatabases();
assertEquals(stats.getGetDatabases().getTime().getAllTime().getCount(), initialCallCount + 1.0);
assertTrue(stats.getGetDatabases().getTime().getAllTime().getAvg() > 0.0);
assertThat(stats.getGetDatabases().getTime().getAllTime().getCount()).isGreaterThan(initialCallCount);
assertThat(stats.getGetDatabases().getTime().getAllTime().getAvg()).isGreaterThan(0.0);
assertEquals(stats.getGetDatabases().getTotalFailures().getTotalCount(), initialFailureCount);
}

Expand Down

0 comments on commit 7eb9c57

Please sign in to comment.