Skip to content

Commit

Permalink
tinker with file attributes to make tests work
Browse files Browse the repository at this point in the history
  • Loading branch information
timvw committed Nov 6, 2023
1 parent 6faa73e commit 7efe765
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/test/resources/randyzwitch/zwitchdev_2015-07-13.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-- proper file
Datafeed-Manifest-Version: 1.0
Lookup-Files: 1
Data-Files: 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-- dummy file
Datafeed-Manifest-Version: 1.0
Lookup-Files: 1
Data-Files: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class DefaultSourceTest extends AnyFunSuite {

val df = spark.read
.format("datafeed")
.option(DatafeedOptions.MODIFIED_AFTER, "2023-11-01T00:00:00")
.option(DatafeedOptions.MODIFIED_AFTER, "2023-11-06T14:56:00")
.load(feedPath)

assert(df.count() == 0)
Expand Down

0 comments on commit 7efe765

Please sign in to comment.