From 5b5ce4b28fa479ba25d3369d05ce749bc8c962ad Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Sat, 23 May 2026 15:51:42 -0700 Subject: [PATCH] test: testConst() not atomic --- test/testqgroup.cpp | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/test/testqgroup.cpp b/test/testqgroup.cpp index bfb5800..952c3b7 100644 --- a/test/testqgroup.cpp +++ b/test/testqgroup.cpp @@ -679,18 +679,22 @@ void testIQ() sub.testEmpty(); } -void testConst() +void testConst(bool atomic) { - testDiag("%s", __func__); + auto isatom = atomic ? "true": "false"; + testDiag("%s(%s)", __func__, isatom); TestClient ctxt; - auto val(ctxt.get("tst:const").exec()->wait(5.0)); + auto val(ctxt.get("tst:const") + .record("atomic", atomic) + .exec()->wait(5.0)); testStrEq(std::string(SB()<