Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/provisioning/datasources/datasources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ datasources:
access: proxy
url: http://prometheus:9090
isDefault: true
- name: Prometheus Demo
id: 2
uid: prometheus-demo
type: prometheus
access: proxy
url: https://prometheus.demo.prometheus.io
2 changes: 1 addition & 1 deletion tools/datasources_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func TestDatasourcesTools(t *testing.T) {
ctx := newTestContext()
result, err := listDatasources(ctx, ListDatasourcesParams{})
require.NoError(t, err)
assert.Len(t, result, 1)
assert.Greater(t, len(result), 0)
})

t.Run("get datasource by uid", func(t *testing.T) {
Expand Down