gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet-scheme] 107/324: tests: message-io: Unbreak.


From: gnunet
Subject: [gnunet-scheme] 107/324: tests: message-io: Unbreak.
Date: Tue, 21 Sep 2021 13:22:27 +0200

This is an automated email from the git hooks/post-receive script.

maxime-devos pushed a commit to branch master
in repository gnunet-scheme.

commit 8cd889941d647d1e827e6c73ad98a68b2c4d4743
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sun Apr 11 11:35:29 2021 +0200

    tests: message-io: Unbreak.
    
    Hopefully this doesn't simply mask a bug ...
    
    * tests/message-io.scm (make-detect-blocking-operation):
      Do not assume a scheduler exists, or something?
---
 tests/message-io.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/message-io.scm b/tests/message-io.scm
index f283855..a103005 100644
--- a/tests/message-io.scm
+++ b/tests/message-io.scm
@@ -119,8 +119,9 @@ fiber is yields LOOPS times"
     (async
      (let loop ((n loops))
        (if (>= n 0)
-          (begin (assert (yield-current-fiber))
-                 (loop (- n 1)))
+          (begin
+            (yield-current-fiber)
+            (loop (- n 1)))
           (signal-condition! op))))
     (wait-operation op)))
 (define *loops* 16) ; should be enough

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]