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
AnalyticsBuilderBaseTest has a function timestamp() to set the current correlator time. Using this to set the initial time does not work well if model execution time should be an actual date. Calling self.timestamp(1693388803.554) (which will create a pseudo timestamp event &TIME) will take a very long time as the model needs to process through all the time since time 0.
Apama supports explicitly setting the time with an event like this:
f'&SETTIME({1693388803.000})'
It would be good if the test framework either had a separate function to create a $SETTIME event or if startAnalyticsBuilderCorrelator() had an optional parameter to set the initial time.
The text was updated successfully, but these errors were encountered:
AnalyticsBuilderBaseTest has a function timestamp() to set the current correlator time. Using this to set the initial time does not work well if model execution time should be an actual date. Calling self.timestamp(1693388803.554) (which will create a pseudo timestamp event &TIME) will take a very long time as the model needs to process through all the time since time 0.
Apama supports explicitly setting the time with an event like this:
f'&SETTIME({1693388803.000})'
It would be good if the test framework either had a separate function to create a $SETTIME event or if startAnalyticsBuilderCorrelator() had an optional parameter to set the initial time.
The text was updated successfully, but these errors were encountered: