datasources: Use fewer datasources in tests. (#103091)
This commit is contained in:
1 parent
f7f28757f6
commit
2439301515
1 file changed
+2
-2
@@ -370,7 +370,7 @@ func TestIntegrationDataAccess(t *testing.T) {
|
||||
t.Run("No limit should be applied on the returned data sources if the limit is not set", func(t *testing.T) {
|
||||
db := db.InitTestDB(t)
|
||||
ss := SqlStore{db: db}
|
||||
numberOfDatasource := 5100
|
||||
numberOfDatasource := 50
|
||||
for i := 0; i < numberOfDatasource; i++ {
|
||||
_, err := ss.AddDataSource(context.Background(), &datasources.AddDataSourceCommand{
|
||||
OrgID: 10,
|
||||
@@ -394,7 +394,7 @@ func TestIntegrationDataAccess(t *testing.T) {
|
||||
t.Run("No limit should be applied on the returned data sources if the limit is negative", func(t *testing.T) {
|
||||
db := db.InitTestDB(t)
|
||||
ss := SqlStore{db: db}
|
||||
numberOfDatasource := 5100
|
||||
numberOfDatasource := 50
|
||||
for i := 0; i < numberOfDatasource; i++ {
|
||||
_, err := ss.AddDataSource(context.Background(), &datasources.AddDataSourceCommand{
|
||||
OrgID: 10,
|
||||
|
||||
Reference in new issue
Block a user