                   (reset! service svc)
                   (try
                     (let [result (apply orig-start args)]
-                      (deliver start-ex nil)
+                      (reset! start-ex nil)
                       result)
                     (catch Exception ex
-                      (deliver start-ex ex)
+                      (reset! start-ex ex)
                       (throw ex)))))
         err-msg? #(re-matches #"Invalid database configuration settings: 'standard_.*" %1)]
 

        true))

    (testing "unsupported db triggers unsupported-database exception"
      (let [ex (deref start-ex 0 nil)
            expected-oldest scf-store/oldest-supported-db
            {:keys [kind current oldest]} (when (instance? ExceptionInfo ex)
                                            (ex-data ex))]

        true))

    (testing "invalid-database-configuration exception thrown"
      (let [ex (deref start-ex)
            {:keys [kind failed-validation]} (when (instance? ExceptionInfo ex)
                                               (ex-data ex))]
        (is (= ExceptionInfo (class ex)))
