You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by sd...@apache.org on 2022/01/10 20:27:02 UTC

[netbeans] branch infra/gradle-lsp-stabilization updated: Artificial delay

This is an automated email from the ASF dual-hosted git repository.

sdedic pushed a commit to branch infra/gradle-lsp-stabilization
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/infra/gradle-lsp-stabilization by this push:
     new bba01d3  Artificial delay
bba01d3 is described below

commit bba01d37458a351e2a77988587b72dd87a6da38c
Author: Svata Dedic <sv...@oracle.com>
AuthorDate: Mon Jan 10 21:26:24 2022 +0100

    Artificial delay
---
 .../src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java b/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
index 8c09204..1fd6762 100644
--- a/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
+++ b/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java
@@ -4931,6 +4931,7 @@ public class ServerTest extends NbTestCase {
         lc.progressStart.await();
         // let's cancel in the middle
         assertNotNull(lc.token);
+        Thread.sleep(1000);
         server.cancelProgress(new WorkDoneProgressCancelParams(Either.forLeft(lc.token)));
         lc.progressEnd.await();
         

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists