From 7e04828b71c38e0159ea0ad0396dad74b9f410b9 Mon Sep 17 00:00:00 2001 From: marty1885 Date: Mon, 15 Jan 2024 22:09:02 +0800 Subject: [PATCH] bypass GNS gnunet.org test as that zone is discontinued for GNUnet 0.21.0 --- tests/test.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/test.cpp b/tests/test.cpp index 76f763c..4a9d0b1 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -187,9 +187,7 @@ ENTER_MAIN_THREAD auto ego = co_await gnunetpp::getEgo(cfg, ego_name); CO_REQUIRE(ego.has_value()); - CHECK(ego->keyType() == GNUNET_IDENTITY_TYPE_ECDSA); - - // check signing with the identity works + CHECK(ego->keyType() == GNUNET_IDENTITY_TYPE_ECDSA); // check signing with the identity works // FIXME: This API sucks and easy to confuse types auto sig = gnunetpp::crypto::sign(ego->privateKey().ecdsa_key, "hello world"); CHECK(sig.has_value()); @@ -199,7 +197,7 @@ ENTER_MAIN_THREAD EXIT_MAIN_THREAD } -DROGON_TEST(GNS) +/*DROGON_TEST(GNS) { ENTER_MAIN_THREAD auto gns = std::make_shared(cfg); @@ -207,7 +205,7 @@ ENTER_MAIN_THREAD CO_REQUIRE(result.size() != 0); // Won't check the actual result as it may change EXIT_MAIN_THREAD -} +}*/ DROGON_TEST(Namestore) { @@ -341,4 +339,4 @@ int main(int argc, char** argv) }); return status; -} \ No newline at end of file +}