diff --git a/packages/dashboard-frontend/src/store/Plugins/devWorkspacePlugins/__tests__/index.spec.ts b/packages/dashboard-frontend/src/store/Plugins/devWorkspacePlugins/__tests__/index.spec.ts index 0a127d07c..19682631c 100644 --- a/packages/dashboard-frontend/src/store/Plugins/devWorkspacePlugins/__tests__/index.spec.ts +++ b/packages/dashboard-frontend/src/store/Plugins/devWorkspacePlugins/__tests__/index.spec.ts @@ -334,7 +334,7 @@ describe('dwPlugins store', () => { timeouts: { inactivityTimeout: -1, runTimeout: -1, - startTimeout: -1, + startTimeout: 300, }, cheNamespace: 'eclipse-che', }) diff --git a/packages/dashboard-frontend/src/store/ServerConfig/__tests__/index.spec.ts b/packages/dashboard-frontend/src/store/ServerConfig/__tests__/index.spec.ts index 556c58eec..230950f77 100644 --- a/packages/dashboard-frontend/src/store/ServerConfig/__tests__/index.spec.ts +++ b/packages/dashboard-frontend/src/store/ServerConfig/__tests__/index.spec.ts @@ -59,7 +59,7 @@ describe('dwPlugins store', () => { timeouts: { inactivityTimeout: -1, runTimeout: -1, - startTimeout: -1, + startTimeout: 300, }, cheNamespace: 'eclipse-che', }; diff --git a/packages/dashboard-frontend/src/store/ServerConfig/index.ts b/packages/dashboard-frontend/src/store/ServerConfig/index.ts index 7db474c50..8281f2c4d 100644 --- a/packages/dashboard-frontend/src/store/ServerConfig/index.ts +++ b/packages/dashboard-frontend/src/store/ServerConfig/index.ts @@ -86,7 +86,7 @@ const unloadedState: State = { timeouts: { inactivityTimeout: -1, runTimeout: -1, - startTimeout: -1, + startTimeout: 300, }, cheNamespace: '', }, diff --git a/packages/dashboard-frontend/src/store/ServerConfig/selectors.ts b/packages/dashboard-frontend/src/store/ServerConfig/selectors.ts index fcb2a8796..e22b3e34a 100644 --- a/packages/dashboard-frontend/src/store/ServerConfig/selectors.ts +++ b/packages/dashboard-frontend/src/store/ServerConfig/selectors.ts @@ -38,7 +38,7 @@ export const selectPvcStrategy = createSelector( export const selectStartTimeout = createSelector( selectState, - state => state.config.timeouts.startTimeout || 0, + state => state.config.timeouts.startTimeout, ); export const selectServerConfigError = createSelector(selectState, state => state.error); diff --git a/packages/dashboard-frontend/src/store/__mocks__/storeBuilder.ts b/packages/dashboard-frontend/src/store/__mocks__/storeBuilder.ts index de9afc04e..fe9cc62f1 100644 --- a/packages/dashboard-frontend/src/store/__mocks__/storeBuilder.ts +++ b/packages/dashboard-frontend/src/store/__mocks__/storeBuilder.ts @@ -54,7 +54,7 @@ export class FakeStoreBuilder { timeouts: { inactivityTimeout: -1, runTimeout: -1, - startTimeout: -1, + startTimeout: 300, }, cheNamespace: '', } as api.IServerConfig,