diff --git a/pom.xml b/pom.xml index 5e5f45d..cad1549 100644 --- a/pom.xml +++ b/pom.xml @@ -35,7 +35,7 @@ SOFTWARE. jar eo-threads - 0.30.0 + 0.32.0 UTF-8 UTF-8 256M diff --git a/src/test/eo/org/eolang/threads/mutex-test.eo b/src/test/eo/org/eolang/threads/mutex-test.eo index aca7f32..5a512d8 100644 --- a/src/test/eo/org/eolang/threads/mutex-test.eo +++ b/src/test/eo/org/eolang/threads/mutex-test.eo @@ -71,13 +71,13 @@ seq mut.acquire 1 > a mem.write - mem.times 2 + mem.as-int.times 2 a.release 1 thread > t2 seq mut.acquire 1 > b mem.write - mem.times 3 + mem.as-int.times 3 b.release 1 assert-that > @ seq @@ -219,6 +219,7 @@ finish.write call "gettimeofday" gt. - finish.minus start + finish.as-int.minus + start.as-int 400000 $.equal-to TRUE diff --git a/src/test/eo/org/eolang/threads/thread-test.eo b/src/test/eo/org/eolang/threads/thread-test.eo index 2158d72..73b4043 100644 --- a/src/test/eo/org/eolang/threads/thread-test.eo +++ b/src/test/eo/org/eolang/threads/thread-test.eo @@ -107,7 +107,8 @@ sleep 200 finish.write call "gettimeofday" - finish.minus start + finish.as-int.minus + start.as-int $.all-of $.less-than 1000000 @@ -135,7 +136,8 @@ finish.write call "gettimeofday" lt. - finish.minus start + finish.as-int.minus + start.as-int 600000 $.equal-to TRUE