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

Failing manual test for ScheduledFireTimeUtc #376

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KristjanLaane
Copy link

ScheduledFireTimeUtc likes to stay in the present even though it should sometimes reflect the past, as detailed in this issue #375

The test fails with the following output:
(Test started at 09:35 UTC)
(Computer put to sleep at 09:36 UTC)
(Trigger should have fired at 09:37 UTC but could not because the computer was in sleep)
(Computer woken up at 09:41 UTC)
Event Scheduled for 03/06/2016 09:41:37 +00:00 Ticked at 03/06/2016 09:41:37 +00:00 with Difference of 00:00:00.0260000
Scheduled Fire Time Wrong - It Should Have Been Earlier Because of the Misfire
  Expected: greater than 00:00:30
  But was:  00:00:00.0260000

A fixed job was needed to implement this test, so a fixed job factory was also added, which can be used in any circumstance when only one job is executed for all triggers.
In order to ask the tester to carry out the manual part of this test at the right time a MessageBox is used, which is why the build script is modified a bit as well to include a Windows Forms reference.
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

Successfully merging this pull request may close these issues.

None yet

1 participant