Project

General

Profile

Actions

Bug #35830

closed

Intermittent react test failure on ACS table test

Added by Samir Jha over 1 year ago. Updated 8 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Alternate Content Sources
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Summary of all failing tests
FAIL webpack/scenes/AlternateContentSources/MainTable/__tests__/acsTable.test.js (1459 MB heap size)
● Can call API and show ACS on page load

Warning: An update to %s inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state /
});
/
assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act%s
28 |   // }
29 |
> 30 | throw new Error(error); // comment this and uncomment the next line when checking for ouia ids | ^
31 | // if (!error.includes('Failed prop type')) throw new Error(error);
32 | };
33 |
at console.Object.<anonymous>.global.console.error (webpack/global_test_setup.js:30:9)
at printWarning (../foreman/node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (../foreman/node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (../foreman/node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at setItems (../foreman/node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at _callee$ (webpack/components/Search/Search.js:78:9)
at tryCatch (webpack/components/Search/Search.js:2:1)
at Generator.<anonymous> (webpack/components/Search/Search.js:2:1)
at Generator.next (webpack/components/Search/Search.js:2:1)
at asyncGeneratorStep (webpack/components/Search/Search.js:2:1)
at _next (webpack/components/Search/Search.js:2:1)
Actions #1

Updated by Lucy Fu over 1 year ago

  • Triaged changed from No to Yes
Actions #2

Updated by Lucy Fu about 1 year ago

  • Target version changed from Katello 4.8.0 to Katello 4.9.0
Actions #3

Updated by Jeremy Lenz about 1 year ago

  • Category set to Alternate Content Sources
Actions #4

Updated by Lucy Fu 11 months ago

  • Target version changed from Katello 4.9.0 to Katello 4.10.0
Actions #5

Updated by Samir Jha 8 months ago

  • Status changed from New to Rejected

Haven't seen this in a while. Closing!

Actions #6

Updated by Samir Jha 8 months ago

  • Target version changed from Katello 4.10.0 to Katello Recycle Bin
Actions

Also available in: Atom PDF