Skip to content

Commit f867d9b

Browse files
committed
remove bad calls to method no longer in this pr
1 parent f6ced94 commit f867d9b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/test/java/com/uber/cadence/client/WorkflowOptionsTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ public void testOnlyOptionsAndEmptyAnnotationsPresent() throws NoSuchMethodExcep
4646
.setWorkflowIdReusePolicy(WorkflowIdReusePolicy.RejectDuplicate)
4747
.setMemo(getTestMemo())
4848
.setSearchAttributes(getTestSearchAttributes())
49-
.setDefaultContextPropagators(false)
5049
.build();
5150
WorkflowMethod a =
5251
WorkflowOptionsTest.class

src/test/java/com/uber/cadence/context/ContextTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ public void testNoDefaultOpenTelemetryContextPropagation() {
485485
testEnvironment.start();
486486
WorkflowClient client = testEnvironment.newWorkflowClient();
487487
WorkflowOptions options =
488-
new WorkflowOptions.Builder().setDefaultContextPropagators(false).build();
488+
new WorkflowOptions.Builder().build();
489489

490490
try (Scope scope = span.makeCurrent()) {
491491
TestWorkflow workflow = client.newWorkflowStub(TestWorkflow.class, options);

0 commit comments

Comments
 (0)