mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git: RunConfigurationVcsIgnoreTest: create .idea directory in setUpProject
This will fix possible races when ChangeListManager start checking for changes (triggered by .idea creation) but project not initialized yet.
This commit is contained in:
@@ -20,11 +20,15 @@ class RunConfigurationVcsIgnoreTest : GitSingleRepoTest() {
|
||||
|
||||
override fun setUp() {
|
||||
super.setUp()
|
||||
invokeAndWaitIfNeeded { saveComponentManager(project) } //will create .idea directory
|
||||
vcsIgnoreManager = project.service()
|
||||
gitIgnore = File("$projectPath/$GITIGNORE")
|
||||
}
|
||||
|
||||
override fun setUpProject() {
|
||||
super.setUpProject()
|
||||
invokeAndWaitIfNeeded { saveComponentManager(project) } //will create .idea directory
|
||||
}
|
||||
|
||||
override fun setUpModule() {
|
||||
myModule = createMainModule()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user