-
Notifications
You must be signed in to change notification settings - Fork 7.6k
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
One preference manager integration test is failing on Mac #6917
Comments
Bisect points to this commit e18ebfb. |
This fails for me on your view-state-migration branch, but not on master. I've run this test quite a bit recently without issue. |
This actually fails in the master. I noticed it from Jenkins' email notification. And I don't think git bisect lies to me since my branch is not yet merged to the master. Note that this is mac only issue though. |
Oh, I see. It looks like a difference in timing between the Jenkins machine and mine. The check that it was doing to see that project prefs were loaded would always pass. I just committed a fix in ceea715 that makes sure the correct project prefs are loaded before moving on. We'll see after the jenkins run if that fixes the issue. Thanks for noticing this! |
I pushed a minor change in 4eb4797 that should make the test resilient to timing differences. |
Still failing, so it's apparently not a timing issue. |
This is a fix for #6917. The problem was that `openAndSelectDocument(nonProjectFile` was being called outside of a `run()` block, so sometimes the nonProjectFile would be open rather than file that was supposed to be open.
I managed to get this failing sporadically on my machine, and then the problem became obvious to me once i saw which file was open in the test window. 57deb81 should fix this for real. FBNC to @RaymondLim (and the build server, which I'll keep an eye on 😁) |
Yes, confirmed that 57deb81 fixed the failing test. |
Great! And there's been no complaint from the build server, so I'm closing this. |
Test case "should find preferences in the project" always fails with "Error: Expected 4 to be 92."
The text was updated successfully, but these errors were encountered: