File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
cmd/samples/recipes/sleep Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ PROGS = helloworld \
3535 pageflow \
3636 signalcounter \
3737 sideeffect \
38- sleepworkflow \
38+ sleep \
3939
4040TEST_ARG ?= -race -v -timeout 5m
4141BUILD := ./build
@@ -69,7 +69,7 @@ TEST_DIRS=./cmd/samples/cron \
6969 ./cmd/samples/recipes/searchattributes \
7070 ./cmd/samples/recipes/sideeffect \
7171 ./cmd/samples/recipes/signalcounter \
72- ./cmd/samples/recipes/sleepworkflow \
72+ ./cmd/samples/recipes/sleep \
7373 ./cmd/samples/recovery \
7474 ./cmd/samples/pso \
7575
@@ -83,8 +83,8 @@ helloworld:
8383delaystart :
8484 go build -o bin/delaystart cmd/samples/recipes/delaystart/* .go
8585
86- sleepworkflow :
87- go build -o bin/sleepworkflow cmd/samples/recipes/sleepworkflow /* .go
86+ sleep :
87+ go build -o bin/sleep cmd/samples/recipes/sleep /* .go
8888
8989branch :
9090 go build -o bin/branch cmd/samples/recipes/branch/* .go
@@ -212,7 +212,7 @@ bins: helloworld \
212212 pageflow \
213213 signalcounter \
214214 sideeffect \
215- sleepworkflow \
215+ sleep \
216216
217217test : bins
218218 @rm -f test
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
1212)
1313
1414const (
15- ApplicationName = "sleepWorkflowTaskList "
15+ ApplicationName = "sleepTaskList "
1616 SleepWorkflowName = "sleepWorkflow"
1717)
1818
@@ -30,7 +30,7 @@ func startWorkers(h *common.SampleHelper) {
3030func startWorkflow (h * common.SampleHelper ) {
3131 sleepDuration := 30 * time .Second
3232 workflowOptions := client.StartWorkflowOptions {
33- ID : "sleepworkflow_ " + uuid .New (),
33+ ID : "sleep_ " + uuid .New (),
3434 TaskList : ApplicationName ,
3535 ExecutionStartToCloseTimeout : time .Minute ,
3636 DecisionTaskStartToCloseTimeout : time .Minute ,
File renamed without changes.
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
1010 "go.uber.org/cadence/testsuite"
1111)
1212
13- func Test_SleepWorkflow (t * testing.T ) {
13+ func Test_Sleep (t * testing.T ) {
1414 testSuite := & testsuite.WorkflowTestSuite {}
1515
1616 env := testSuite .NewTestWorkflowEnvironment ()
You can’t perform that action at this time.
0 commit comments