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

Timer operations testing sync #106

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DeRauk
Copy link
Contributor

@DeRauk DeRauk commented Oct 1, 2021

@@ -95,6 +107,8 @@ def start_locally(workflow, schedule, *input, **args)
execution, workflow_id, run_id, workflow.disabled_releases, metadata
)

Temporal::ThreadLocalContext.set(context)
Copy link
Contributor Author

@DeRauk DeRauk Oct 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two tests are failing and I have a hunch it's related to this line (110).

  • ./spec/unit/lib/temporal/testing/temporal_override_spec.rb:106 # Temporal::Testing::TemporalOverride when testing mode is local Workflow.execute_locally restores original context after finishing successfully
  • /spec/unit/lib/temporal/testing/temporal_override_spec.rb:117 # Temporal::Testing::TemporalOverride when testing mode is local Workflow.execute_locally restores original context after failing

They don't fail when run by themselves, just when the whole test suite is run. Not sure what the best way to fix is.

These tests aren't in the Cadence library.

calum-stripe pushed a commit to calum-stripe/temporal-ruby that referenced this pull request Nov 10, 2022
…oner/downstream

Downstream latest temporal-ruby changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants