Skip to content

Commit

Permalink
4.x: Disable only the slowest test in FileSystemWatcherTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Captain1653 committed Jan 23, 2025
1 parent 30f1bf6 commit e2f8483
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, 2022 Oracle and/or its affiliates.
* Copyright (c) 2020, 2025 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -40,7 +40,6 @@
/**
* Tests {@link io.helidon.config.FileSystemWatcher}.
*/
@Disabled //TODO tests are still TOO slow to be unit tests -> refactor it to run much quicker
public class FileSystemWatcherTest {
private static final String WATCHED_FILE = "watched-file.yaml";

Expand Down Expand Up @@ -104,6 +103,7 @@ public void testPollingNotYetExisting() throws InterruptedException, IOException
assertThat(watchedFileLatch.await(40, TimeUnit.SECONDS), is(true));
}

@Disabled //TODO test is still TOO slow to be unit test -> refactor it to run much quicker
@Test
public void testPollingSymLink() throws InterruptedException, IOException {
CountDownLatch firstEventLatch = new CountDownLatch(1);
Expand Down

0 comments on commit e2f8483

Please sign in to comment.