Commit 390458a
committed
[tests] Fix the RevertableChange test implementations which modify the Scala compile server settings
- In the previous implementation, the revertable change was fully reverting _all_ compile server settings as they were before the test was run.
- On a brand-new machine, with no history of running any tests which use the compile server, this result in always reverting the compile server settings to their default state.
- We reuse the compile server much more prominently in tests now, to significantly improve test execution time.
- This resulted in the reused compile server process reading default data from the disk, ending in test failures due to misconfiguration.1 parent ac8b1f0 commit 390458a
File tree
1 file changed
+32
-9
lines changed- scala/scala-impl/test/org/jetbrains/plugins/scala/util
1 file changed
+32
-9
lines changedLines changed: 32 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
39 | 53 | | |
40 | 54 | | |
41 | 55 | | |
| |||
60 | 74 | | |
61 | 75 | | |
62 | 76 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
68 | 91 | | |
69 | 92 | | |
70 | 93 | | |
| |||
0 commit comments