[1.x] Fix missing project directory#8583
Conversation
…uild sbt#8570 - add one test case
| $ copy-file temp/build.sbt build.sbt | ||
|
|
||
| # Execute early command with addPluginSbtFile and reload | ||
| > early(addPluginSbtFile=temp/extra.sbt); reload No newline at end of file |
There was a problem hiding this comment.
I didn't find any way to pass additional command line arguments when using scripted tests to have the test with the same steps as in #8570, but I have little experience with scripted tests
However, these steps also trigger the same exception. Locally, without my fix, this test fails with the same exception as in #8570, and with my fix, it passes.
There was a problem hiding this comment.
Interestingly project/aggregate is failing, which I'm guessing is because we batch multiple scripted tests into one sbt session. If the manual test works for you, I'm ok without the scripted test.
There was a problem hiding this comment.
It seems so :/ It might be useful to run tests in a separate session.
Then, I'll remove the test for now.
- PR sbt#8583. It seems that multiple tests can run in a single sbt session, so adding an extra sbt file causes other tests to fail because the sbt file is not present for them.
project directoryproject directory
Fixes #8570