diff --git a/build.gradle b/build.gradle index c42bec06c..7a6d101eb 100755 --- a/build.gradle +++ b/build.gradle @@ -146,7 +146,7 @@ configure(javaProjects) { dependency("org.codehaus.gpars:gpars:1.2.1") /**es 5.4.1 dependencies*/ dependency("org.elasticsearch.client:transport:5.4.1") - dependency("net.snowflake:snowflake-jdbc:3.15.0") + dependency("net.snowflake:snowflake-jdbc:3.4.2") dependency("com.esotericsoftware.kryo:kryo:2.22") dependency("org.apache.iceberg:iceberg-spark-runtime:${iceberg_version}") dependency("com.datastax.cassandra:cassandra-driver-core:3.7.2") diff --git a/metacat-functional-tests/src/functionalTest/groovy/com/netflix/metacat/MySqlLookupServiceSpec.groovy b/metacat-functional-tests/src/functionalTest/groovy/com/netflix/metacat/MySqlLookupServiceSpec.groovy index e456cea10..e37fb79cf 100644 --- a/metacat-functional-tests/src/functionalTest/groovy/com/netflix/metacat/MySqlLookupServiceSpec.groovy +++ b/metacat-functional-tests/src/functionalTest/groovy/com/netflix/metacat/MySqlLookupServiceSpec.groovy @@ -138,15 +138,15 @@ class MySqlLookupServiceSpec extends Specification{ def "test setValue for different id"(){ when: - def mock1LookUp = mySqlLookupService.setValues("mock1", ["1", "2", "3"] as Set) - def mock2LookUp = mySqlLookupService.setValues("mock2", ["4", "5", "6"] as Set) + def mock1LookUp = mySqlLookupService.setValue("setValue_mock1", "1") + def mock2LookUp = mySqlLookupService.setValue("setValue_mock2", "2") then: - mock1LookUp.values == ["1", "2", "3"] as Set - mock1LookUp.values == mySqlLookupService.getValues("mock1") - areLookupsEqual(mock1LookUp, mySqlLookupService.get("mock1", true)) - mock2LookUp.values == ["4", "5", "6"] as Set - mock2LookUp.values == mySqlLookupService.getValues("mock2") - areLookupsEqual(mock2LookUp, mySqlLookupService.get("mock2", true)) + mock1LookUp.values == ["1"] as Set + mock1LookUp.values == mySqlLookupService.getValues("setValue_mock1") + areLookupsEqual(mock1LookUp, mySqlLookupService.get("setValue_mock1", true)) + mock2LookUp.values == ["2"] as Set + mock2LookUp.values == mySqlLookupService.getValues("setValue_mock2") + areLookupsEqual(mock2LookUp, mySqlLookupService.get("setValue_mock2", true)) } }