Skip to content

Commit acba551

Browse files
committed
Fix bug32695580 UT
1 parent 0191ac0 commit acba551

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/bugs/bugs.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,12 +1182,12 @@ void bugs::bug32695580()
11821182
logMsg("bugs::bug32695580");
11831183
sql::ConnectOptionsMap opt;
11841184
opt[OPT_HOSTNAME] = "127.0.0.1";
1185-
opt[OPT_PORT] = 111;
1185+
opt[OPT_PORT] = 65000;
11861186

11871187
try {
11881188
Connection con2(getConnection(&opt));
11891189
} catch (const sql::SQLException &e) {
1190-
ASSERT_EQUALS(2003,e.getErrorCode());
1190+
ASSERT_GT(2000,e.getErrorCode());
11911191
}
11921192
}
11931193

0 commit comments

Comments
 (0)