Skip to content

Commit d2a5b4d

Browse files
committed
odbc: Wait a bit before removing created login to allow disconnection
It looks like that the CI is intermittently failing. Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
1 parent a67cb4e commit d2a5b4d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/odbc/unittests/oldpwd.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "common.h"
22

33
#include <assert.h>
4+
#include <freetds/utils.h>
45

56
/* change password on server */
67

@@ -99,6 +100,7 @@ TEST_MAIN()
99100
odbc_disconnect();
100101

101102
/* drop created login */
103+
tds_sleep_ms(500); /* give time for logoff */
102104
swap_conn();
103105
odbc_command("DROP LOGIN " USER);
104106
odbc_disconnect();

0 commit comments

Comments
 (0)