Skip to content

Commit 1163014

Browse files
committed
unit test addition for timeout disabing
1 parent 6950bf9 commit 1163014

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

tests/unit/server.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const assert = require('assert');
44
const sinon = require('sinon');
55
const http = require('http');
66
const https = require('https');
7-
const promClient = require('prom-client');
87
const arsenal = require('arsenal');
98
const uuid = require('uuid');
109
const logger = require('../../lib/utilities/logger');
@@ -221,9 +220,6 @@ describe('S3Server request timeout', () => {
221220
beforeEach(() => {
222221
sandbox = sinon.createSandbox();
223222

224-
// Clear prometheus registry to avoid conflicts
225-
promClient.register.clear();
226-
227223
// Create a mock server to capture the requestTimeout setting
228224
mockServer = {
229225
requestTimeout: null,

0 commit comments

Comments
 (0)