Skip to content

Commit

Permalink
TEP-0061, Added test metadata is supported for the embedded run spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrapCodes committed May 24, 2021
1 parent c6196b9 commit 4dc118d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/reconciler/pipelinerun/pipelinerun_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ func TestReconcile_CustomTask(t *testing.T) {
APIVersion: "example.dev/v0",
Kind: "Example",
},
Metadata: v1beta1.PipelineTaskMetadata{Labels: map[string]string{"test-label": "test"}},
Spec: runtime.RawExtension{
Raw: []byte(`{"field1":123,"field2":"value"}`),
},
Expand Down Expand Up @@ -578,6 +579,7 @@ func TestReconcile_CustomTask(t *testing.T) {
APIVersion: "example.dev/v0",
Kind: "Example",
},
Metadata: v1beta1.PipelineTaskMetadata{Labels: map[string]string{"test-label": "test"}},
Spec: runtime.RawExtension{
Raw: []byte(`{"field1":123,"field2":"value"}`),
},
Expand Down

0 comments on commit 4dc118d

Please sign in to comment.