Skip to content

Commit

Permalink
Revert few unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tdas committed Jul 11, 2018
1 parent 05e3acf commit dcf9616
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,7 @@ class FlatMapGroupsWithStateSuite extends StateStoreMetricsTest
testStateUpdateWithData(
s"EventTimeTimeout - $testName - state and timeout timestamp updated",
stateUpdates =
(state: GroupState[Int]) => {
state.update(5); state.setTimeoutTimestamp(5000)
},
(state: GroupState[Int]) => { state.update(5); state.setTimeoutTimestamp(5000) },
timeoutConf = EventTimeTimeout,
priorState = priorState,
priorTimeoutTimestamp = priorTimeoutTimestamp,
Expand All @@ -517,8 +515,8 @@ class FlatMapGroupsWithStateSuite extends StateStoreMetricsTest
timeoutConf = EventTimeTimeout,
priorState = priorState,
priorTimeoutTimestamp = priorTimeoutTimestamp,
expectedState = Some(5), // state should change
expectedTimeoutTimestamp = NO_TIMESTAMP) // timestamp should not update
expectedState = Some(5), // state should change
expectedTimeoutTimestamp = NO_TIMESTAMP) // timestamp should not update

testStateUpdateWithData(
s"EventTimeTimeout - $testName - setting timeout with state removal not allowed",
Expand Down

0 comments on commit dcf9616

Please sign in to comment.