Skip to content

Commit

Permalink
feat(observability-lib): adapt test to new functions signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Atrax1 committed Jun 18, 2024
1 parent 1a63c31 commit 159d260
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions observability-lib/atlas-don/component_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ func TestBuildDashboard(t *testing.T) {
builder := dashboard.NewDashboardBuilder("test")
utils.AddPanels(builder, []cog.Builder[dashboard.Panel]{
utils.StatPanel(
1,
"Prometheus",
"Test",
"Test",
Expand Down
1 change: 1 addition & 0 deletions observability-lib/core-node-components/component_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ func TestBuildDashboard(t *testing.T) {
builder := dashboard.NewDashboardBuilder("test")
utils.AddPanels(builder, []cog.Builder[dashboard.Panel]{
utils.StatPanel(
1,
"Prometheus",
"Test",
"Test",
Expand Down
1 change: 1 addition & 0 deletions observability-lib/core-node/component_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ func TestBuildDashboard(t *testing.T) {
builder := dashboard.NewDashboardBuilder("test")
utils.AddPanels(builder, []cog.Builder[dashboard.Panel]{
utils.StatPanel(
1,
"Prometheus",
"Test",
"Test",
Expand Down
1 change: 1 addition & 0 deletions observability-lib/k8s-resources/component_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ func TestBuildDashboard(t *testing.T) {
builder := dashboard.NewDashboardBuilder("test")
utils.AddPanels(builder, []cog.Builder[dashboard.Panel]{
utils.StatPanel(
1,
"Prometheus",
"Test",
"Test",
Expand Down
2 changes: 2 additions & 0 deletions observability-lib/utils/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ func TestAddVars(t *testing.T) {
func TestStatPanel(t *testing.T) {
t.Run("StatPanel creates a stat panel", func(t *testing.T) {
statPanelTest := utils.StatPanel(
1,
"Prometheus",
"Test",
"Test",
Expand All @@ -75,6 +76,7 @@ func TestAddPanels(t *testing.T) {
builder := dashboard.NewDashboardBuilder("test")
utils.AddPanels(builder, []cog.Builder[dashboard.Panel]{
utils.StatPanel(
1,
"Prometheus",
"Test",
"Test",
Expand Down

0 comments on commit 159d260

Please sign in to comment.