mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Bump timeout for unit-tests
Bump timeout for unit-tests.
This commit is contained in:
parent
cca3698d19
commit
f9dc5cd32b
@ -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