File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
src/test/scala/ai/chronon/integrations/cloud_gcp Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ scala_test_suite(
87
87
srcs = glob (["src/test/**/*.scala" ]),
88
88
# defined in prelude_bazel file
89
89
jvm_flags = _JVM_FLAGS_FOR_ACCESSING_BASE_JAVA_CLASSES ,
90
+ resources = glob (["src/main/resources/**" ]),
90
91
visibility = ["//visibility:public" ],
91
92
deps = shared_deps + test_deps + [":cloud_gcp_lib" ],
92
93
)
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import org.apache.spark.sql.internal.SQLConf
13
13
import org .junit .Assert .{assertEquals , assertNotNull , assertTrue }
14
14
import org .scalatest .flatspec .AnyFlatSpec
15
15
import org .scalatestplus .mockito .MockitoSugar
16
+ import com .google .cloud .spark .bigquery .BigQueryUtilScala
17
+
16
18
17
19
import java .io .{ByteArrayInputStream , ByteArrayOutputStream }
18
20
import scala .collection .JavaConverters ._
@@ -109,6 +111,10 @@ class BigQueryCatalogTest extends AnyFlatSpec with MockitoSugar {
109
111
println(nativePartitions)
110
112
}
111
113
114
+ it should " connector.properties lists the correct scala and connector version" in {
115
+ BigQueryUtilScala .validateScalaVersionCompatibility()
116
+ }
117
+
112
118
it should " kryo serialization for ResolvingFileIO" in {
113
119
val registrator = new ChrononKryoRegistrator ()
114
120
val kryo = new Kryo ();
You can’t perform that action at this time.
0 commit comments