Skip to content

Commit

Permalink
Update workflowbackend int tests for removed workflow comoponent
Browse files Browse the repository at this point in the history
registered

Signed-off-by: joshvanl <me@joshvanl.dev>
  • Loading branch information
JoshVanL committed Jan 26, 2024
1 parent 2c54b58 commit e05b4b9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ func (w *workflowbackend) Run(t *testing.T, ctx context.Context) {

comps := util.GetMetaComponents(t, ctx, httpClient, w.daprdCreate.HTTPPort())
require.ElementsMatch(t, []*rtv1.RegisteredComponents{
{Name: "dapr", Type: "workflow.dapr", Version: "v1"},
{
Name: "mystore", Type: "state.in-memory", Version: "v1",
Capabilities: []string{"ETAG", "TRANSACTIONAL", "TTL", "DELETE_WITH_PREFIX", "ACTOR"},
Expand All @@ -200,7 +199,6 @@ func (w *workflowbackend) Run(t *testing.T, ctx context.Context) {

comps = util.GetMetaComponents(t, ctx, httpClient, w.daprdUpdate.HTTPPort())
require.ElementsMatch(t, []*rtv1.RegisteredComponents{
{Name: "dapr", Type: "workflow.dapr", Version: "v1"},
{Name: "wfbackend", Type: "workflowbackend.actors", Version: "v1"},
{
Name: "mystore", Type: "state.in-memory", Version: "v1",
Expand All @@ -218,7 +216,6 @@ func (w *workflowbackend) Run(t *testing.T, ctx context.Context) {

comps = util.GetMetaComponents(t, ctx, httpClient, w.daprdDelete.HTTPPort())
require.ElementsMatch(t, []*rtv1.RegisteredComponents{
{Name: "dapr", Type: "workflow.dapr", Version: "v1"},
{Name: "wfbackend", Type: "workflowbackend.actors", Version: "v1"},
{
Name: "mystore", Type: "state.in-memory", Version: "v1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ func (w *workflowbackend) Run(t *testing.T, ctx context.Context) {

comps := util.GetMetaComponents(t, ctx, httpClient, w.daprdCreate.HTTPPort())
require.ElementsMatch(t, []*rtv1.RegisteredComponents{
{Name: "dapr", Type: "workflow.dapr", Version: "v1"},
{
Name: "mystore", Type: "state.in-memory", Version: "v1",
Capabilities: []string{"ETAG", "TRANSACTIONAL", "TTL", "DELETE_WITH_PREFIX", "ACTOR"},
Expand All @@ -175,7 +174,6 @@ spec:

comps = util.GetMetaComponents(t, ctx, httpClient, w.daprdUpdate.HTTPPort())
require.ElementsMatch(t, []*rtv1.RegisteredComponents{
{Name: "dapr", Type: "workflow.dapr", Version: "v1"},
{Name: "wfbackend", Type: "workflowbackend.actors", Version: "v1"},
{
Name: "mystore", Type: "state.in-memory", Version: "v1",
Expand All @@ -196,7 +194,6 @@ spec:

comps = util.GetMetaComponents(t, ctx, httpClient, w.daprdDelete.HTTPPort())
require.ElementsMatch(t, []*rtv1.RegisteredComponents{
{Name: "dapr", Type: "workflow.dapr", Version: "v1"},
{Name: "wfbackend", Type: "workflowbackend.actors", Version: "v1"},
{
Name: "mystore", Type: "state.in-memory", Version: "v1",
Expand Down
1 change: 0 additions & 1 deletion tests/integration/suite/daprd/workflow/backend/actors.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ func (a *actors) Run(t *testing.T, ctx context.Context) {

comps := util.GetMetaComponents(t, ctx, util.HTTPClient(t), a.daprd.HTTPPort())
require.ElementsMatch(t, []*rtv1.RegisteredComponents{
{Name: "dapr", Type: "workflow.dapr", Version: "v1"},
{Name: "wfbackend", Type: "workflowbackend.actors", Version: "v1"},
{
Name: "mystore", Type: "state.in-memory", Version: "v1",
Expand Down
1 change: 0 additions & 1 deletion tests/integration/suite/daprd/workflow/backend/sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ func (s *sqlite) Run(t *testing.T, ctx context.Context) {

comps := util.GetMetaComponents(t, ctx, util.HTTPClient(t), s.daprd.HTTPPort())
require.ElementsMatch(t, []*rtv1.RegisteredComponents{
{Name: "dapr", Type: "workflow.dapr", Version: "v1"},
{Name: "wfbackend", Type: "workflowbackend.sqlite", Version: "v1"},
}, comps)

Expand Down

0 comments on commit e05b4b9

Please sign in to comment.