-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Reuse test windows during integration suites #4270
Comments
Comment by jasonsanjose
|
Comment by TomMalbran
|
Comment by jasonsanjose I'm actually seeing a different failure in that spec
|
Comment by TomMalbran I haven't seen that error, but I still get the one I mentioned. Occasionally it doesn't appear. The weird part is that the file stills open and the live development is done. One thing I noticed is that |
Comment by TomMalbran I was somehow able to get the same failure that you mention and also saw it at Increasing the files to open timeout to 1000 seems to have fixed the other failure I mentioned. |
Comment by jasonsanjose I'm trying to fix the failure in |
Comment by jasonsanjose Hmm, I tried calling in I prefer |
Comment by jasonsanjose
|
Comment by TomMalbran When running the live development test, without closing the window at the end, check the files. Open "simple1.css" into the working set, and you should see it dirty. Maybe the Document/Editor was never destroyed. I actually tried using I'll check the new changes. |
Comment by jasonsanjose Ok, I'll try that out. I had to back out one change to DocumentCommandHandlers-test because the spies on Dialog prevented |
Comment by TomMalbran Sounds good. If the test don't care about the content of the file, like the DocumentCommandHandler tests, DocumentManager.closeAll is good. We could also update FILE_CLOSE_ALL to receive a dontShowUI option so that it doesn't show it. I still don't get why I can see the older changes when reopening the files. The InlineEditors tests work fine. Wasn't able to reproduce the failure. But I did still saw the timeout in the Live Development tests since the default timeout is 1000 and the new timeout is still 1000. I haven't seen any errors with 5000 or 10000 as a timeout on files. By the way, at which amount of commits we ask for a rebase? |
Comment by jasonsanjose Just rebased! :) I'm happy with these changes even with that one live development failure. If you're happy and want to merge I can see if this improves run time on our build machines. |
Comment by TomMalbran Sure, maybe the test run a bit slower on my computer with all the stuff I have open anyway. And the test doesn't always fail. Merging. |
Comment by TomMalbran Let me know if it improved or if anything failed :) |
Comment by jasonsanjose Much improved so far. Finished under 6 minutes on windows and under 4 minutes on mac. I'll need a few more test runs to feel confident. For the last month or so they would hit the 15min timeout. Our current theory is that we've got a memory leak (#4185) that is magnified in the test runs due to how many new windows we open. |
Comment by TomMalbran Awesome :) I was checking |
Issue by jasonsanjose
Wednesday Jul 31, 2013 at 22:26 GMT
Originally opened as adobe/brackets#4618
CodeHintManager._removeHintProvider
method to restoreCodeHintManager
state for unit testsjasonsanjose included the following code: https://github.com/adobe/brackets/pull/4618/commits
The text was updated successfully, but these errors were encountered: