Now it's flaky between 1 and 2 (only 'parent' or 'parent' and 'excluded').
In both cases 'excluded' is created as assertNotNull succeeds.
To be honest, I don't even understand why it was 1. The test is supposed to assert that event for the child is also fired.
The test relies on the timing of fs events and on the fact that events are fired on EDT (the thread where the test is run).
GitOrigin-RevId: 3718a22282f039226a0476e6a9ffb84316547068