From 224a36378029bd951ccae00bd10d8363760c7e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C5=8Dshin?= Date: Fri, 25 Feb 2022 11:08:09 -0800 Subject: [PATCH] test: fix failure introduced by random tids --- pkg/arvo/tests/sys/vane/khan.hoon | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkg/arvo/tests/sys/vane/khan.hoon b/pkg/arvo/tests/sys/vane/khan.hoon index 1cddf7c39c..75ed2cb475 100644 --- a/pkg/arvo/tests/sys/vane/khan.hoon +++ b/pkg/arvo/tests/sys/vane/khan.hoon @@ -68,12 +68,15 @@ %fard fard == == =/ results-0 (expect !>(=(2 (lent start-moves)))) + :: XX overspecified + :: + =/ expected-tid (cat 3 'khan-fyrd--' (scot %uv (sham 0xdead.beef))) =/ results-1 %+ expect-eq !> :* ~[//khan/1/0vthat.ductt] %pass //g %g %deal [~nul ~nul] %spider %watch - /thread-result/'khan-fyrd--0vthat.ductt' + /thread-result/[expected-tid] == !> (head start-moves) =/ mev (rear start-moves) @@ -95,7 +98,7 @@ q.cag =/ results-7 %+ expect-eq - !> :* ~ `%'khan-fyrd--0vthat.ductt' + !> :* ~ `expected-tid [~nul %base %da now] %nonexistent ~ == !>(rag(t ~))