From 4a6a04163389a82e9d80e90acd0b101097b43e3f Mon Sep 17 00:00:00 2001 From: Mark Hamilton Date: Mon, 2 Dec 2024 14:29:38 -0700 Subject: [PATCH] chore: fix azure maps tests (#2325) --- .../azure/synapse/ml/services/geospatial/AzureMapsSuite.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognitive/src/test/scala/com/microsoft/azure/synapse/ml/services/geospatial/AzureMapsSuite.scala b/cognitive/src/test/scala/com/microsoft/azure/synapse/ml/services/geospatial/AzureMapsSuite.scala index 252adf809d..d0ad9c54b6 100644 --- a/cognitive/src/test/scala/com/microsoft/azure/synapse/ml/services/geospatial/AzureMapsSuite.scala +++ b/cognitive/src/test/scala/com/microsoft/azure/synapse/ml/services/geospatial/AzureMapsSuite.scala @@ -68,7 +68,7 @@ class AzMapsSearchAddressSuite extends TransformerFuzzing[AddressGeocoder] with assert(flattenedResults != null) assert(flattenedResults.length == 15) - assert(flattenedResults.toSeq.head.get(1) == 47.64188) + assert(flattenedResults.toSeq.head.get(1).toString.startsWith("47.6418")) } override def assertDFEq(df1: DataFrame, df2: DataFrame)(implicit eq: Equality[DataFrame]): Unit = {