 ;; limitations under the License.
 ;;
 (ns waiter.websocket-integration-test
-  (:require [clj-time.core :as t]
+  (:require [clj-time.coerce :as tc]
+            [clj-time.core :as t]
             [clojure.core.async :as async]
             [clojure.data.json :as json]
             [clojure.string :as str]

        (let [response-promise (promise)
              connect-start-time-ms (System/currentTimeMillis)
              connect-end-time-ms-atom (atom connect-start-time-ms)
              connection (ws-client/connect!
                           (websocket-client-factory)
                           (ws-url waiter-url "/websocket-auth")

          inter-request-interval-ms (+ metrics-sync-interval-ms 1000)
          auth-cookie-value (auth-cookie waiter-url)
          waiter-headers (assoc (kitchen-request-headers)
                           :x-waiter-debug "true"
                           :x-waiter-metric-group "waiter_ws_test"
                           :x-waiter-name (rand-name))
          _ (make-kitchen-request waiter-url waiter-headers :method :get)
