Skip to content

Commit

Permalink
fixup! Show warning banner on user namespace FailedScheduling event
Browse files Browse the repository at this point in the history
  • Loading branch information
vinokurig committed Oct 7, 2024
1 parent 2ebf776 commit bf46295
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { FakeStoreBuilder } from '@/store/__mocks__/storeBuilder';

const websocketClient = container.get(WebsocketClient);
const text =
'Cluster autoscaler is provisioning a new node at the moment. Please be patient, workspace startup will be taking longer than usual.';
'"FailedScheduling" event occurred. If cluster autoscaler is enabled it might be provisioning a new node now and workspace startup will take longer than usual. Check the "Events" tab to get more details.';

describe('BannerAlertNoNodeAvailable component', () => {
it('should show alert when failedScheduling event is received and hide alert when workspace has started', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ class BannerAlertNoNodeAvailable extends React.PureComponent<Props, State> {

return (
<Banner className="pf-u-text-align-center" variant="warning">
Cluster autoscaler is provisioning a new node at the moment. Please be patient, workspace
startup will be taking longer than usual.
&quot;FailedScheduling&quot; event occurred. If cluster autoscaler is enabled it might be
provisioning a new node now and workspace startup will take longer than usual. Check the
&quot;Events&quot; tab to get more details.
</Banner>
);
}
Expand Down

0 comments on commit bf46295

Please sign in to comment.