Skip to content

Commit

Permalink
Chore: refactor workflow status syncer with informer
Browse files Browse the repository at this point in the history
Signed-off-by: FogDong <[email protected]>
  • Loading branch information
FogDong committed Mar 30, 2023
1 parent 93ecac2 commit a9b797e
Show file tree
Hide file tree
Showing 13 changed files with 242 additions and 350 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ dist

.pnp.*

tsconfig.tsbuildinfo
tsconfig.tsbuildinfo
4 changes: 1 addition & 3 deletions e2e-test/application_sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ var _ = Describe("Test the application synchronizing", func() {
Expect(lrr.Records[1].Name).Should(Equal("test-v2"))

// The workflow includes a suspend step.
if lrr.Records[1].Status != "suspending" {
return fmt.Errorf("the record status is %s, not suspending", lrr.Records[1].Status)
}
Expect(lrr.Records[1].Status).Should(Equal("suspending"))
return nil
}).WithTimeout(time.Minute * 1).WithPolling(3 * time.Second).Should(BeNil())
})
Expand Down
Loading

0 comments on commit a9b797e

Please sign in to comment.