-
Notifications
You must be signed in to change notification settings - Fork 486
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Seperate windows and non windows tests. (#6816)
- Loading branch information
1 parent
633ad9d
commit 9646f5c
Showing
6 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
internal/converter/internal/promtailconvert/promtailconvert_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
//go:build linux | ||
|
||
package promtailconvert_test | ||
|
||
import ( | ||
|
15 changes: 15 additions & 0 deletions
15
internal/converter/internal/promtailconvert/promtailconvert_windows_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//go:build windows | ||
|
||
package promtailconvert_test | ||
|
||
import ( | ||
"testing" | ||
|
||
"github.com/grafana/agent/internal/converter/internal/promtailconvert" | ||
"github.com/grafana/agent/internal/converter/internal/test_common" | ||
_ "github.com/grafana/agent/internal/static/metrics/instance" // Imported to override default values via the init function. | ||
) | ||
|
||
func TestConvert(t *testing.T) { | ||
test_common.TestDirectory(t, "testdatawindows", ".yaml", true, []string{}, promtailconvert.Convert) | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.