-
Notifications
You must be signed in to change notification settings - Fork 238
Make tests pass on the updated testing infrastructure #1400
Comments
My current experience (on commit b9e6cc3):
Full When I move Workflow tests to run before End2End tests, everything passes: It's not "right" but I'm going to commit the change to move us forward.
Update: this re-grouping of tests makes them much slower – from 10 minutes to 30 minutes on my machine. I think we should do some sort of cleanup between tests suites, for example, start End2End tests and Workflow tests each on a fresh WP installation. Update 2: I no longer understand what's causing the slowdown. I'm trying again on commits 341fec0 and 29fa978 where I've definitely seen 10-minute long runs and they now both take 30 minutes. |
Good is that I'm seeing consistent results on Docker Toolbox on Windows: #1403 (comment). |
So I tried Then I restarted Docker and voila, tests were back at 10 minutes again. Who will give me those few hours of my life back? 😅 |
#1389 improves the testing infrastructure and it seems that with enough "luck", by which I mean a good order of tests or their combination, all tests even pass. However, in practice, it's not very repeatable or reliable.
This issue is about getting the tests run reasonably reliably on both Mac and Windows. There are still debt items mentioned in #1284 like the "temporarily" disabled
ActivationDeactivationTest
andThemeCustomizerTest
which are out of scope of this issue.E
, notF
) as for example database is not ready yet.run-tests.ts
, Newrun-tests.ts
, making test runs more reliable #1401.npm run tests
pass.run-tests.ts
, making test runs more reliable #1401 and a workaround forcloneLooksExactlySameAsOriginal
Fresh site setup before CloneMergeTest (workaround) #1410, all tests now pass. 🎉The text was updated successfully, but these errors were encountered: