Skip to content

Commit

Permalink
Use esVersion >=7 (#5558)
Browse files Browse the repository at this point in the history
  • Loading branch information
FlamingSaint authored Jun 11, 2024
1 parent ada5569 commit 3869a35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/esmapping-generator/app/flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestOptionsWithFlags(t *testing.T) {
o.AddFlags(&c)
err := c.ParseFlags([]string{
"--mapping=jaeger-span",
"--es-version=6",
"--es-version=7",
"--shards=5",
"--replicas=1",
"--index-prefix=test",
Expand All @@ -54,7 +54,7 @@ func TestOptionsWithFlags(t *testing.T) {
})
require.NoError(t, err)
assert.Equal(t, "jaeger-span", o.Mapping)
assert.Equal(t, uint(6), o.EsVersion)
assert.Equal(t, uint(7), o.EsVersion)
assert.Equal(t, int64(5), o.Shards)
assert.Equal(t, int64(1), o.Replicas)
assert.Equal(t, "test", o.IndexPrefix)
Expand Down

0 comments on commit 3869a35

Please sign in to comment.