Skip to content

Commit 4be3dfe

Browse files
committed
Force connection closed from hanging test
1 parent a786f7f commit 4be3dfe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/utils/amqputils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ function init(connection) {
134134
function closeConnection(name, reason, next) {
135135
const headers = {
136136
'x-reason': reason,
137+
connection: 'close',
137138
};
138139
http.request(`http://guest:guest@localhost:15672/api/connections/${name}`, { method: 'delete', headers }, () => {
139140
next();

0 commit comments

Comments
 (0)