You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...then the test will only work once, and will fail on subsequent runs.
This is due to .stateChangesOnly() combined with the lack of topic state deletion between test runs.
That is to say -- in kapacitor, the "weather" topic tracks the critical state of the task, so even deleting and recreating the task between tests in not sufficient to reset the state.
The problem is confirmed for batch, unconfirmed for stream.
The text was updated successfully, but these errors were encountered:
DreadPirateShawn
changed the title
tests need to delete topic between runs (confirmed for batch, unconfirmed for stream)
tests need to delete topic between runs
Mar 24, 2020
The following tick + test will work fine:
However, if a topic is added to the tick:
...then the test will only work once, and will fail on subsequent runs.
This is due to
.stateChangesOnly()
combined with the lack of topic state deletion between test runs.That is to say -- in kapacitor, the "weather" topic tracks the critical state of the task, so even deleting and recreating the task between tests in not sufficient to reset the state.
The problem is confirmed for batch, unconfirmed for stream.
The text was updated successfully, but these errors were encountered: