Skip to content

Commit

Permalink
add datastream test
Browse files Browse the repository at this point in the history
  • Loading branch information
cgroschupp committed Apr 5, 2024
1 parent 97bd40f commit 495125c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opensearch-operator/pkg/reconcilers/indextemplate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ var _ = Describe("indextemplate reconciler", func() {
Priority: 0,
Version: 0,
Meta: &apiextensionsv1.JSON{},
DataStream: &opsterv1.OpensearchDatastreamSpec{TimestampField: opsterv1.OpensearchDatastreamTimestampFieldSpec{Name: "@mytimestamp"}},
},
}

Expand Down Expand Up @@ -285,6 +286,7 @@ var _ = Describe("indextemplate reconciler", func() {
Priority: 0,
Version: 0,
Meta: &apiextensionsv1.JSON{},
DataStream: &requests.Datastream{TimestampField: &requests.DatastreamTimestampFieldSpec{Name: "@mytimestamp"}},
},
}

Expand Down

0 comments on commit 495125c

Please sign in to comment.