Skip to content

Commit

Permalink
Add versions to the tests
Browse files Browse the repository at this point in the history
Signed-off-by: kekkokers <kekkokers@gmail.com>
  • Loading branch information
kekkker committed Dec 12, 2023
1 parent e283dcc commit 365715f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions collector/cluster_license_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ func TestClusterLicense(t *testing.T) {
want string
}{
{
name: "basic",
file: "../fixtures/clusterlicense/basic.json",
name: "7.17.10-basic",
file: "../fixtures/clusterlicense/7.17.10-basic.json",
want: `
# HELP elasticsearch_cluster_license_expiry_date_seconds License expiry date since unix epoch in seconds.
# TYPE elasticsearch_cluster_license_expiry_date_seconds gauge
Expand All @@ -54,8 +54,8 @@ func TestClusterLicense(t *testing.T) {
`,
},
{
name: "platinum",
file: "../fixtures/clusterlicense/platinum.json",
name: "7.17.10-platinum",
file: "../fixtures/clusterlicense/7.17.10-platinum.json",
want: `
# HELP elasticsearch_cluster_license_expiry_date_seconds License expiry date since unix epoch in seconds.
# TYPE elasticsearch_cluster_license_expiry_date_seconds gauge
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 365715f

Please sign in to comment.