enso/engine/runtime-with-polyglot/src/test
Hubert Plociniczak 21dc90a0ed
OpenFileCmd sends a reply when finished (#8225)
* OpenFileCmd sends a reply when finished

Lack of reply and therefore a non-determinism on when OpenFile handler
can finish, led to some sporadic instability. Once caches format got
changed, things were taking such a long time that I wasn't able to start
even a basic project (requests would start to timeout).
The change also removes PushContextCmd from synchronous cmds (as
introduced in #798 to remove initialization problems in tests as well as
in real scenarions); the change did the job but was also a bit
controversial.
The change can also help with randomly failing applies (#8174) as IDE kept
closing and opening the project that might have exploited the
race-condition.

* Adapt tests

* Make tests more resilient to out of order messages

* Drop retries that lead to confusing errors

* less random failures

* s/OpenFileNotification/OpenFileRequest
2023-11-07 23:59:42 +01:00
..
java/org/enso/interpreter/test Use TruffleLogger bound to the engine to prevent illegal usage (#8169) 2023-10-31 08:53:05 +00:00
scala/org/enso/interpreter/test/instrument OpenFileCmd sends a reply when finished (#8225) 2023-11-07 23:59:42 +01:00