 (def schema1-serialized
   {:name "test_device"
    :desc "Connects to a device"
+   :connection_info_order ["username" "variant_secret"]
    :connection_info
    {:username
     {:type "String"

         (is (= expected-etag (response-etag response-with-tag))
             "unexpected etag returned for request with prior etag"))))))

(deftest ^:integration transports-info-updated-after-cache-flush-during-prior-request
  (let [transports-info-atom (atom [{:name "transport1"}])
        wait-atom (atom nil)
        config (bootstrap/load-dev-config-with-overrides
                {:jruby-puppet {:gem-path gem-path

       (is (true? (deref wait-promise 10000 :timed-out))
           (str "timed out waiting for get transports info call to be reached "
                "in mock jrubypuppet instance"))
       (reset! transports-info-atom {:name "transport2"})
       (purge-env-cache "production")
       (deliver continue-promise true)
       (let [initial-response @initial-response-future
