Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test framework should support setting the initial correlator time #8

Open
haraldmeyer opened this issue Aug 30, 2023 · 2 comments
Open

Comments

@haraldmeyer
Copy link

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.

@gys-c8y
Copy link
Collaborator

gys-c8y commented Sep 13, 2023

I have logged an internal ticket to track and fix it.

@skom-c8y
Copy link
Collaborator

skom-c8y commented May 6, 2024

the internal issue id is PAB-4241

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants