Bug 1885315 - unit tests fail on slow disks
Summary: unit tests fail on slow disks
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.7.0
Assignee: Filip Krepinsky
QA Contact: Filip Krepinsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-05 15:14 UTC by Filip Krepinsky
Modified: 2021-02-24 15:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:23:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error.log (1.22 KB, text/plain)
2020-10-05 15:14 UTC, Filip Krepinsky
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6841 0 None closed Bug 1885315: specify full regex for jest transform 2020-10-20 08:56:00 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:23:35 UTC

Description Filip Krepinsky 2020-10-05 15:14:45 UTC
Created attachment 1719087 [details]
error.log

Created attachment 1719087 [details]
error.log

Description of problem:
When running yarn test on slow disk I get multiple errors (see error.log) with this following summary:

Test Suites: 262 failed, 66 passed, 328 total
Tests:       627 passed, 627 total
Snapshots:   0 total
Time:        50.5s


When running on a faster disk, all the tests pass successfully.

How reproducible:
50%

Expected results:
tests pass on a slower disk

Comment 2 Yadan Pei 2020-10-20 08:59:16 UTC
Hi Filip,

After reading the bug and fix PR, I think it would be good if you can move it to VERIFIED since the issue is only reproducible on slow disk and I don't have such machine right now.

Could you help?

Comment 3 Yadan Pei 2020-10-20 09:00:11 UTC
Although based on the description in the fix PR I think it is ok to move it to VERIFIED I would still like to get your confirmation.

Comment 4 Filip Krepinsky 2020-10-20 10:20:21 UTC
I confirm, tests pass successfully with this change.

Comment 5 Yadan Pei 2020-10-21 01:17:34 UTC
Thank you

Comment 8 errata-xmlrpc 2021-02-24 15:23:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:5633


Note You need to log in before you can comment on or make changes to this bug.