mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Merge pull request #10032 from nixocio/ui_update_timeout
Bump timeout for unit-tests Bump timeout for unit-tests. Reviewed-by: Michael Abashian <None>
This commit is contained in:
commit
acb6e3e6e9
@ -160,7 +160,6 @@ describe('<InstanceGroupList />', () => {
|
||||
});
|
||||
|
||||
test('should render deletion error modal', async () => {
|
||||
jest.setTimeout(5000 * 4);
|
||||
InstanceGroupsAPI.destroy = jest.fn();
|
||||
InstanceGroupsAPI.destroy.mockRejectedValue(
|
||||
new Error({
|
||||
|
||||
@ -82,13 +82,6 @@ describe('<JobOutput />', () => {
|
||||
let wrapper;
|
||||
const mockJob = mockJobData;
|
||||
const mockJobEvents = mockJobEventsData;
|
||||
beforeAll(() => {
|
||||
jest.setTimeout(5000 * 4);
|
||||
});
|
||||
|
||||
afterAll(() => {
|
||||
jest.setTimeout(5000);
|
||||
});
|
||||
beforeEach(() => {
|
||||
JobsAPI.readEvents.mockResolvedValue({
|
||||
data: {
|
||||
@ -265,7 +258,6 @@ describe('<JobOutput />', () => {
|
||||
});
|
||||
|
||||
test('filter should trigger api call and display correct rows', async () => {
|
||||
jest.setTimeout(5000 * 4);
|
||||
const searchBtn = 'button[aria-label="Search submit button"]';
|
||||
const searchTextInput = 'input[aria-label="Search text input"]';
|
||||
await act(async () => {
|
||||
|
||||
@ -6,7 +6,7 @@ require('@babel/polyfill');
|
||||
|
||||
configure({ adapter: new Adapter() });
|
||||
|
||||
jest.setTimeout(5000 * 4);
|
||||
jest.setTimeout(120000);
|
||||
|
||||
// apply polyfills for jsdom
|
||||
require('@nteract/mockument');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user