Skip to content

Commit 9e3140c

Browse files
committed
Broaden localhost detection
1 parent d0b9ebc commit 9e3140c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/jna-test/org/firebirdsql/gds/ng/jna/JnaDatabaseTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void testBasicCreateAndDrop() throws Exception {
152152
try {
153153
db.createDatabase();
154154
assertTrue(db.isAttached(), "Database should be attached after create");
155-
assertTrue(dbFile.exists() || !FBTestProperties.DB_SERVER_URL.equalsIgnoreCase("localhost"),
155+
assertTrue(dbFile.exists() || !FBTestProperties.isLocalhost(),
156156
"Expected database file to exist (NOTE: only works on localhost)");
157157

158158
db.dropDatabase();

0 commit comments

Comments
 (0)