Skip to content

Conversation

vkoby
Copy link
Contributor

@vkoby vkoby commented Jun 4, 2021

What was changed

  • Fixed flaky DetachedScopeTest
  • Fixed health check test
  • Javadoc from the issue below
  • Cleaned up duplicate code in the process
  • Utilized SDKWorkflowRule in a few others
  1. Closes Javadoc for WorkflowClient refers to wrong API #325

WorkflowStub client = testWorkflowRule.newUntypedWorkflowStubTimeoutOptions("TestWorkflow1");
client.start(testWorkflowRule.getTaskQueue());
testWorkflowRule.sleep(Duration.ofMillis(500)); // To let activityWithDelay start.
testWorkflowRule.sleep(Duration.ofSeconds(1)); // To let activityWithDelay start.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should fix the flakiness.

@vkoby vkoby merged commit 1813f6a into temporalio:master Jun 5, 2021
@vkoby vkoby deleted the flakes branch June 5, 2021 03:21
robzienert pushed a commit to robzienert/sdk-java that referenced this pull request Jul 23, 2021
…LLEY/nflx-temporal-sdk:merge_oss to master

* commit '671858b5039cbce290427ddcf723149c6e60cdd1':
  Small tweak to upgrade notes
  Document upgrade
  Comment out changes that pull in dependencies from grpc 1.34+
  Add netflix.io.grpc:grpc-services-nflx
  update dependency locks
  Implement configurable DEFAULT_DEADLOCK_DETECTION_TIMEOUT (temporalio#524)
  Change InterruptedException logs to debug-level. (temporalio#533)
  Updated dependencies. (temporalio#532)
  Fixed flaky DetachedScopeTest + Javadoc + Refactoring (temporalio#526)
  Add getWorker method to TestWorkflowRule (temporalio#528)
  Avoid throwing IllegalStateException in NoopSuspendableWorker (temporalio#527)
  Cleaning up Activity Javadocs (temporalio#453)
  Add workerFactoryOptions override to the JUnit 5 extension (temporalio#520)
  Removes slf4j-simple from api scope (temporalio#523)
  Release v1.0.9 (temporalio#522)
  Fix health check attributes (temporalio#519)
  Release v1.0.8 (temporalio#518)
  Out-of-process test server (temporalio#470)
  Health Check (temporalio#504)
  Workflow retry in Test Service (temporalio#510)
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.

Javadoc for WorkflowClient refers to wrong API

2 participants