Skip to content

Commit 60fdd5b

Browse files
authored
fix: Test hooks timeout when using rest transport (#253)
1 parent 63ec53c commit 60fdd5b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/functional/checkObjectExists.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ function checkObjectExists(config, name, type, callback) {
169169
checkObjectExistsODBC(config.transportOptions, object, callback);
170170
} else if (config.transport === 'ssh') {
171171
checkObjectExistsSSH(config.transportOptions, object, callback);
172+
} else {
173+
// we cannot check object existence using the rest transport
174+
callback(null, true);
172175
}
173176
}
174177

0 commit comments

Comments
 (0)