Increase max wait time in debug:wait action to 10 minutes (#25109)
This commit is contained in:
committed by
GitHub
parent
237d7e8325
commit
f4c848604f
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
---
|
||||
|
||||
Increase max wait time in debug:wait action to 10 minutes
|
||||
@@ -57,7 +57,7 @@ describe('debug:wait', () => {
|
||||
await expect(async () => {
|
||||
await action.handler(context);
|
||||
}).rejects.toThrow(
|
||||
'Waiting duration is longer than the maximum threshold of 0 hours, 0 minutes, 30 seconds',
|
||||
'Waiting duration is longer than the maximum threshold of 0 hours, 10 minutes, 0 seconds',
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -21,7 +21,7 @@ import { examples } from './wait.examples';
|
||||
|
||||
const id = 'debug:wait';
|
||||
|
||||
const MAX_WAIT_TIME_IN_ISO = 'T00:00:30';
|
||||
const MAX_WAIT_TIME_IN_ISO = 'T00:10:00';
|
||||
|
||||
/**
|
||||
* Waits for a certain period of time.
|
||||
|
||||
Reference in New Issue
Block a user