From be520738cf6ffcd683ca557a190d6290ce551d0d Mon Sep 17 00:00:00 2001 From: Dmitry Sherstobitov Date: Fri, 12 Apr 2024 10:50:59 +0400 Subject: [PATCH] Fixed syntax --- yugabyte/src/yugabyte/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yugabyte/src/yugabyte/core.clj b/yugabyte/src/yugabyte/core.clj index e31c533eb..34dc3c72e 100644 --- a/yugabyte/src/yugabyte/core.clj +++ b/yugabyte/src/yugabyte/core.clj @@ -315,7 +315,7 @@ (defn test-3 "Final phase where we define global cluster configuration parameters" [opts] - (let [packed-columns-enabled ((v/newer-or-equal? (:version test) minimal-packed-version) and (> (rand) 0.5)) + (let [packed-columns-enabled (and (v/newer-or-equal? (:version test) minimal-packed-version) (> (rand) 0.5)) colocated (and (not (utils/is-test-geo-partitioned? opts)) (> (rand) 0.5))] (assoc opts :yb-packed-columns-enabled packed-columns-enabled :yb-colocated colocated)) ())