From 012ad0aae45a03134f869410bd90e3876c11d386 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Fri, 25 Feb 2022 16:29:17 +0100 Subject: -fix --- src/namestore/test_plugin_rest_namestore.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/namestore/test_plugin_rest_namestore.sh b/src/namestore/test_plugin_rest_namestore.sh index a251df57d..50b3c8c12 100755 --- a/src/namestore/test_plugin_rest_namestore.sh +++ b/src/namestore/test_plugin_rest_namestore.sh @@ -78,7 +78,6 @@ curl_delete () { TEST_ID="test" gnunet-arm -s -c test_namestore_api.conf -gnunet-arm -I -c test_namestore_api.conf #Test GET gnunet-identity -C $TEST_ID -c test_namestore_api.conf test="$(gnunet-namestore -D -z $TEST_ID -c test_namestore_api.conf)" @@ -86,7 +85,9 @@ name=$TEST_ID public="$(gnunet-identity -d -c test_namestore_api.conf | grep $TEST_ID | awk 'NR==1{print $3}')" echo "$name $public" gnunet-namestore -z $name -p -a -n "test_entry" -e "1d" -V "000G006WVZ8HQ5YTVFNX09HK0VJVVQ9ZCBYDSCH3ERT04N5ZRBKEB82EP8" -t "PKEY" -c test_namestore_api.conf +sleep 1 gnunet-arm -i rest -c test_namestore_api.conf +sleep 1 curl_get "${namestore_link}/$name" "HTTP/1.1 200 OK" curl_get "${namestore_link}/$public" "error" gnunet-namestore -z $name -d -n "test_entry" -c test_namestore_api.conf -- cgit v1.2.3