                   (fn [instance]
                     (log/info "In cleanup fn")
                     (.terminate (:jruby-puppet instance)))]
-      (logging/with-test-logging
+      (logutils/with-test-logging
         (tk-testutils/with-app-with-config
          app
          jruby-testutils/jruby-service-and-dependencies

           (is (= 200 (:status ping-before-stop))
               "environment request before stop failed")
           (let [start (System/currentTimeMillis)]
             (logging/with-test-logging
              (while (and
                      (< (- (System/currentTimeMillis) start) 10000)
                      (not= 503 (:status (ping-environment))))

           (await pool-agent)
           (is (logged? #"In cleanup fn")))))))
  (testing "flushing the pool does not leave orphaned timeout threads"
    (logutils/with-test-logging
      (tk-testutils/with-app-with-config
       app
       jruby-testutils/jruby-service-and-dependencies
