             {:middleware (fn [_ ^UpgradeRequest request]
                            (websocket/add-headers-to-upgrade-request! request waiter-headers)
                            (add-auth-cookie request auth-cookie-value))})
-          (is (= :done (deref response-promise (-> 2 t/minutes t/in-millis) :timed-out))))
+          (is (= :done (deref response-promise default-timeout-period :timed-out))))
         (is (= "Connected to kitchen" (first @ws-response-atom)))
         (let [{:keys [headers]} (-> @ws-response-atom second str json/read-str walk/keywordize-keys)
               {:keys [upgrade x-cid x-waiter-auth-principal]} headers]

            {:middleware (fn [_ ^UpgradeRequest request]
                           (websocket/add-headers-to-upgrade-request! request waiter-headers)
                           (add-auth-cookie request auth-cookie-value))})
          (is (= :done (deref response-promise (-> 2 t/minutes t/in-millis) :timed-out))))
        (is @uncorrupted-data-streamed-atom)
        (finally
          (delete-service waiter-url waiter-headers))))))

                  (deliver response-promise :done)))
              {:middleware middleware})

            (is (= :done (deref response-promise default-timeout-period :timed-out)))
            (is (nil? (deref backend-data-promise 100 :timed-out)))
            (let [[message-key close-code close-message] (deref ctrl-data-promise 100 [:timed-out])]
              (is (= :qbits.jet.websocket/close message-key))
