Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Fix reflection warning in compress-test (#73937)

Chris Truter83a519f3a107
diff --git a/test/metabase/util/compress_test.clj b/test/metabase/util/compress_test.clj
index 12cb316b2ea..02e160ada8a 100644
--- a/test/metabase/util/compress_test.clj
+++ b/test/metabase/util/compress_test.clj
@@ -72,7 +72,7 @@
(deftest untgz-max-uncompressed-bytes-test
(testing "untgz aborts when total uncompressed bytes exceed :max-uncompressed-bytes"
- (let [content (.getBytes (apply str (repeat 1024 \a)) "UTF-8")
+ (let [content (.getBytes ^String (apply str (repeat 1024 \a)) "UTF-8")
archive (create-multi-entry-tgz 10 content) ;; 10 KiB total uncompressed
out (doto (io/file (System/getProperty "java.io.tmpdir") (mt/random-name))
.mkdirs)]