From e04f6d0df66e3883b02c4aeb5688ee066a6c228b Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Fri, 25 Oct 2024 15:58:35 -0700 Subject: [PATCH] fix test --- .../test/scala/io/delta/sharing/spark/DeltaSharingSuite.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spark/src/test/scala/io/delta/sharing/spark/DeltaSharingSuite.scala b/spark/src/test/scala/io/delta/sharing/spark/DeltaSharingSuite.scala index 293856c0b..ec45c8015 100644 --- a/spark/src/test/scala/io/delta/sharing/spark/DeltaSharingSuite.scala +++ b/spark/src/test/scala/io/delta/sharing/spark/DeltaSharingSuite.scala @@ -448,7 +448,8 @@ class DeltaSharingSuite extends QueryTest with SharedSparkSession with DeltaShar .option("startingVersion", 0).load(tablePath) checkAnswer(df, Nil) } - assert (ex.getMessage.contains("""400 Bad Request {"errorCode":"RESOURCE_DOES_NOT_EXIST"""")) + assert(ex.getMessage.contains("""400 Bad Request""")) + assert(ex.getMessage.contains("""{"errorCode":"RESOURCE_DOES_NOT_EXIST"""")) } integrationTest("azure support") {