Skip to content

Commit

Permalink
Skip integration and system tests for stan module (#34852)
Browse files Browse the repository at this point in the history
* Skip integration and system tests for stan module

* Trying different order of skip annotations

* Applying the skip to the entire test suite
  • Loading branch information
ycombinator authored Mar 20, 2023
1 parent f20ce9d commit 0587bb0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ import (
)

func TestData(t *testing.T) {
t.Skip("tests failing: https://github.com/elastic/beats/issues/34844")
service := compose.EnsureUp(t, "stan")

m := mbtest.NewFetcher(t, getConfig(service.Host()))
m.WriteEvents(t, "")
}

func TestFetch(t *testing.T) {
t.Skip("tests failing: https://github.com/elastic/beats/issues/34844")
service := compose.EnsureUp(t, "stan")

m := mbtest.NewFetcher(t, getConfig(service.Host()))
Expand Down
2 changes: 2 additions & 0 deletions x-pack/metricbeat/module/stan/stats/stats_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ import (
)

func TestData(t *testing.T) {
t.Skip("tests failing: https://github.com/elastic/beats/issues/34844")
service := compose.EnsureUp(t, "stan")

m := mbtest.NewFetcher(t, getConfig(service.Host()))
m.WriteEvents(t, "")
}

func TestFetch(t *testing.T) {
t.Skip("tests failing: https://github.com/elastic/beats/issues/34844")
service := compose.EnsureUp(t, "stan")

m := mbtest.NewFetcher(t, getConfig(service.Host()))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ import (
)

func TestData(t *testing.T) {
t.Skip("tests failing: https://github.com/elastic/beats/issues/34844")
service := compose.EnsureUp(t, "stan")

m := mbtest.NewFetcher(t, getConfig(service.Host()))
m.WriteEvents(t, "")
}

func TestFetch(t *testing.T) {
t.Skip("tests failing: https://github.com/elastic/beats/issues/34844")
service := compose.EnsureUp(t, "stan")

m := mbtest.NewFetcher(t, getConfig(service.Host()))
Expand Down
1 change: 1 addition & 0 deletions x-pack/metricbeat/module/stan/test_stan.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
STAN_FIELDS = metricbeat.COMMON_FIELDS + ["stan"]


@unittest.skip("tests failing: https://github.com/elastic/beats/issues/34844")
class TestStan(XPackTest):

COMPOSE_SERVICES = ['stan']
Expand Down

0 comments on commit 0587bb0

Please sign in to comment.