Skip to content

Commit

Permalink
Rename WorkflowExecutionCloseStatus to WorkflowExecutionStatus (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshtin committed Apr 1, 2020
1 parent 9db7f29 commit b7eeb0e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ require (
github.com/uber-go/tally v3.3.15+incompatible
github.com/uber/jaeger-client-go v2.22.1+incompatible
github.com/uber/jaeger-lib v2.2.0+incompatible // indirect
go.temporal.io/temporal-proto v0.20.4
go.temporal.io/temporal-proto v0.20.7
go.uber.org/atomic v1.6.0
go.uber.org/goleak v1.0.0
go.uber.org/zap v1.14.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ github.com/uber/jaeger-client-go v2.22.1+incompatible/go.mod h1:WVhlPFC8FDjOFMMW
github.com/uber/jaeger-lib v2.2.0+incompatible h1:MxZXOiR2JuoANZ3J6DE/U0kSFv/eJ/GfSYVCjK7dyaw=
github.com/uber/jaeger-lib v2.2.0+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U=
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
go.temporal.io/temporal-proto v0.20.4 h1:mjuMZ9UCVBg4rfH8LDDwI76XjIfxurzsf94tOPXhTEs=
go.temporal.io/temporal-proto v0.20.4/go.mod h1:Lv8L8YBpbp0Z7V5nbvw5UD0j7x0isebhCOIDLkBqn6s=
go.temporal.io/temporal-proto v0.20.7 h1:lM+pnrSTHyzwI2Wdzg4XfurTHC9eqaKYZDDw420VCAU=
go.temporal.io/temporal-proto v0.20.7/go.mod h1:Lv8L8YBpbp0Z7V5nbvw5UD0j7x0isebhCOIDLkBqn6s=
go.uber.org/atomic v1.6.0 h1:Ezj3JGmsOnG1MoRWQkPBsKLe9DwWD9QeXzTRzzldNVk=
go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
go.uber.org/goleak v1.0.0 h1:qsup4IcBdlmsnGfqyLl4Ntn3C2XCCuKAE7DwHpScyUo=
Expand Down
4 changes: 2 additions & 2 deletions test/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ func (ts *IntegrationTestSuite) TestChildWFWithParentClosePolicyTerminate() {
ts.NoError(err)
info := resp.WorkflowExecutionInfo
if info.GetCloseTime().GetValue() > 0 {
ts.Equal(enums.WorkflowExecutionCloseStatusTerminated, info.GetCloseStatus(), info)
ts.Equal(enums.WorkflowExecutionStatusTerminated, info.GetStatus(), info)
break
}
time.Sleep(time.Millisecond * 500)
Expand All @@ -394,7 +394,7 @@ func (ts *IntegrationTestSuite) TestChildWFWithParentClosePolicyAbandon() {
ts.NoError(err)
info := resp.WorkflowExecutionInfo
if info.GetCloseTime().GetValue() > 0 {
ts.Equal(enums.WorkflowExecutionCloseStatusCompleted, info.GetCloseStatus(), info)
ts.Equal(enums.WorkflowExecutionStatusCompleted, info.GetStatus(), info)
break
}
time.Sleep(time.Millisecond * 500)
Expand Down

0 comments on commit b7eeb0e

Please sign in to comment.