Skip to content

Commit

Permalink
test: add pg_catalog as an expected schema (googleapis#821)
Browse files Browse the repository at this point in the history
Adds `pg_catalog` as an expected schema to the JDBC metadata tests.

Fixes googleapis#810
  • Loading branch information
olavloite committed Apr 25, 2022
1 parent 93a0c05 commit 1cbcf3c
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -752,6 +752,10 @@ public void testGetSchemas() throws SQLException {
assertEquals(getDefaultCatalog(database), rs.getString("TABLE_CATALOG"));
assertEquals("information_schema", rs.getString("TABLE_SCHEM"));

assertTrue(rs.next());
assertEquals(getDefaultCatalog(database), rs.getString("TABLE_CATALOG"));
assertEquals("pg_catalog", rs.getString("TABLE_SCHEM"));

assertTrue(rs.next());
assertEquals(getDefaultCatalog(database), rs.getString("TABLE_CATALOG"));
assertEquals("public", rs.getString("TABLE_SCHEM"));
Expand Down

0 comments on commit 1cbcf3c

Please sign in to comment.