                                :phone "123456")))))
 
       (testing "mixed acquire / failure"
-        (let [_ @(r/insert tu/*model-session*
-                           :mixed_unique_key_test
-                           {:org_id org-id
-                            :id idb})
+        (let [_ (tu/insert-record :mixed_unique_key_test
+                                  {:org_id org-id
+                                   :id idb})
 
               [record
                acquire-failures] @(uk/update-unique-keys-after-primary-upsert


    (testing "update existing record"
      (let [id (uuid/v1)
            _ @(r/insert tu/*model-session*
                         :upsert_primary_without_unique_keys_test
                         {:id id :nick "blah" :a "olda" :b "oldb"})
            r @(uk/upsert-primary-record-without-unique-keys
                tu/*model-session*
                m


        [ida idb] [(uuid/v1) (uuid/v1)]

        _ (tu/insert-record :unique_key_test {:id ida :nick "foo"})]

    (testing "acquire an uncontended unique-key"
      (let [[status report reason] @(uk/acquire-unique-key
