Skip to content

Commit

Permalink
unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed Feb 13, 2024
1 parent 1ef2d1f commit 395625d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/test_data_configs_invalid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ func makeInvalidConfigs() []testDataInvalidConfig {
makeInvalidConfigOfflineModePrefixWithNoFile(),
makeInvalidConfigOfflineModeTableNameWithNoFile(),
makeInvalidConfigOfflineModeWithMonitoringInterval("0s"),
makeInvalidConfigOfflineModeWithMonitoringInterval("not a duration"),
makeInvalidConfigOfflineModeWithMonitoringInterval("-1s"),
makeInvalidConfigOfflineModeWithMonitoringInterval("99ms"),
makeInvalidConfigRedisInvalidHostname(),
Expand Down Expand Up @@ -246,7 +245,7 @@ EnvDatastoreTableName = table

func makeInvalidConfigOfflineModeWithMonitoringInterval(interval string) testDataInvalidConfig {
c := testDataInvalidConfig{name: "offline mode table name with no file"}
c.fileError = errOfflineModePropertiesWithNoFile.Error()
c.fileError = errInvalidFileDataSourceMonitoringInterval.Error()
c.fileContent = `
[OfflineMode]
fileDataSource = foo.tar.gz
Expand Down

0 comments on commit 395625d

Please sign in to comment.