Skip to content

Commit

Permalink
Fix unit test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
peacewong committed Mar 20, 2024
1 parent 8b1bf18 commit 72105ad
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ class SchedulerConfigurationTest {
fifoConsumerAutoClearEnabled
)
val fifoConsumerMaxIdleTime =
CommonVars("wds.linkis.fifo.consumer.max.idle.time", new TimeType("1h")).getValue.toLong
CommonVars("wds.linkis.fifo.consumer.max.idle.time", new TimeType("10m")).getValue.toLong
assertEquals(SchedulerConfiguration.FIFO_CONSUMER_MAX_IDLE_TIME, fifoConsumerMaxIdleTime)
assertEquals(SchedulerConfiguration.FIFO_CONSUMER_IDLE_SCAN_INTERVAL.getValue.toLong, 7200000)
val fifoConsumerIdleScanInitTime =
CommonVars("wds.linkis.fifo.consumer.idle.scan.init.time", new TimeType("1s")).getValue.toLong
assertEquals(
Expand Down

0 comments on commit 72105ad

Please sign in to comment.