From 849406914d5f664d635bfd5eebba3b34af5d86c1 Mon Sep 17 00:00:00 2001 From: Tim Van Wassenhove Date: Thu, 9 Nov 2023 09:09:22 +0100 Subject: [PATCH] enable test again --- .../{zwitchdev_2023-11-06.txt => zwitchdev_2023-11-09.txt} | 0 .../icteam/adobe/analytics/datafeed/DefaultSourceTest.scala | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/test/resources/randyzwitch/{zwitchdev_2023-11-06.txt => zwitchdev_2023-11-09.txt} (100%) diff --git a/src/test/resources/randyzwitch/zwitchdev_2023-11-06.txt b/src/test/resources/randyzwitch/zwitchdev_2023-11-09.txt similarity index 100% rename from src/test/resources/randyzwitch/zwitchdev_2023-11-06.txt rename to src/test/resources/randyzwitch/zwitchdev_2023-11-09.txt diff --git a/src/test/scala/be/icteam/adobe/analytics/datafeed/DefaultSourceTest.scala b/src/test/scala/be/icteam/adobe/analytics/datafeed/DefaultSourceTest.scala index 9374de5..2398e74 100644 --- a/src/test/scala/be/icteam/adobe/analytics/datafeed/DefaultSourceTest.scala +++ b/src/test/scala/be/icteam/adobe/analytics/datafeed/DefaultSourceTest.scala @@ -11,13 +11,13 @@ class DefaultSourceTest extends AnyFunSuite { val feedPath = "./src/test/resources/randyzwitch" - ignore("generic file source options work as expected") { + test("generic file source options work as expected") { val spark = TestUtil.getSparkSession() val df = spark.read .format("datafeed") - .option(DatafeedOptions.MODIFIED_AFTER, "2023-11-01T14:56:00") + .option(DatafeedOptions.MODIFIED_AFTER, "2023-11-07T14:56:00") .load(feedPath) assert(df.count() == 0)