Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 2 additions & 18 deletions internal/temporalcli/commands.taskqueue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,6 @@ func (s *SharedServerSuite) TestTaskQueue_Describe_Simple() {
)
s.NoError(res.Err)

// TODO(antlai-temporal): Delete when a server caching bug in 1.26.2 is fixed,
// see https://github.com/temporalio/temporal/pull/6978
time.Sleep(1 * time.Second)

// Text
res = s.Execute(
"task-queue", "describe",
Expand All @@ -279,10 +275,6 @@ func (s *SharedServerSuite) TestTaskQueue_Describe_Simple() {
// No pollers on id1
s.NotContains(res.Stdout.String(), "now")

// TODO(antlai-temporal): Delete when a server caching bug in 1.26.2 is fixed,
// see https://github.com/temporalio/temporal/pull/6978
time.Sleep(1 * time.Second)

res = s.Execute(
"task-queue", "describe",
"--select-unversioned",
Expand All @@ -294,12 +286,8 @@ func (s *SharedServerSuite) TestTaskQueue_Describe_Simple() {
s.NoError(res.Err)

s.ContainsOnSameLine(res.Stdout.String(), "UNVERSIONED", "unreachable")
s.ContainsOnSameLine(res.Stdout.String(), "UNVERSIONED", "workflow", s.DevServer.Options.ClientOptions.Identity, "2 seconds ago", "100000")
s.ContainsOnSameLine(res.Stdout.String(), "UNVERSIONED", "activity", s.DevServer.Options.ClientOptions.Identity, "2 seconds ago", "100000")

// TODO(antlai-temporal): Delete when a server caching bug in 1.26.2 is fixed,
// see https://github.com/temporalio/temporal/pull/6978
time.Sleep(1 * time.Second)
s.ContainsOnSameLine(res.Stdout.String(), "UNVERSIONED", "workflow", s.DevServer.Options.ClientOptions.Identity, "now", "100000")
s.ContainsOnSameLine(res.Stdout.String(), "UNVERSIONED", "activity", s.DevServer.Options.ClientOptions.Identity, "now", "100000")

res = s.Execute(
"task-queue", "describe",
Expand All @@ -315,10 +303,6 @@ func (s *SharedServerSuite) TestTaskQueue_Describe_Simple() {
// No pollers on id2
s.NotContains(res.Stdout.String(), "now")

// TODO(antlai-temporal): Delete when a server caching bug in 1.26.2 is fixed,
// see https://github.com/temporalio/temporal/pull/6978
time.Sleep(1 * time.Second)

res = s.Execute(
"task-queue", "describe",
"--select-all-active",
Expand Down