@@ -128,7 +128,7 @@ func setupTest(t *testing.T) test.Setup {
128128 test .WithPersistedServiceInfo ("shared" , srvInfoShared ),
129129 test .WithPersistedServiceInfo ("unshared" , srvInfoUnshared ),
130130 test .WithInitialDiscovery ,
131- test .WithEmptyRecordsAsNeeded ,
131+ test .WithEmptyResourceRecordsAsNeeded ,
132132 )
133133
134134 // shorthands
@@ -332,7 +332,7 @@ func Test_ScrapeErrorOperations(t *testing.T) {
332332 test .WithPersistedServiceInfo ("shared" , test .DefaultLiquidServiceInfo ()),
333333 test .WithPersistedServiceInfo ("unshared" , test .DefaultLiquidServiceInfo ()),
334334 test .WithInitialDiscovery ,
335- test .WithEmptyRecordsAsNeeded ,
335+ test .WithEmptyResourceRecordsAsNeeded ,
336336 )
337337
338338 s .MustDBExec (`UPDATE project_services SET scraped_at = $1, checked_at = $1` , time .Unix (11 , 0 ))
@@ -919,7 +919,7 @@ func Test_EmptyProjectList(t *testing.T) {
919919 }` ),
920920 test .WithPersistedServiceInfo ("first" , test .DefaultLiquidServiceInfo ()),
921921 test .WithInitialDiscovery ,
922- test .WithEmptyRecordsAsNeeded ,
922+ test .WithEmptyResourceRecordsAsNeeded ,
923923 )
924924
925925 // This warrants its own unit test since the rendering of empty project lists
@@ -943,7 +943,7 @@ func Test_EmptyProjectList(t *testing.T) {
943943func Test_LargeProjectList (t * testing.T ) {
944944 // to test the behavior of the project list endpoint for large lists,
945945 // set up a config with a large number of projects (we do it via the discovery config
946- // in order to leverage test.WithInitialDiscover and test.WithEmptyRecordsAsNeeded )
946+ // in order to leverage test.WithInitialDiscover and test.WithEmptyResourceRecordsAsNeeded )
947947 projectUUIDs := make ([]liquid.ProjectUUID , 100 )
948948 projectsAsConfigured := make ([]core.KeystoneProject , len (projectUUIDs ))
949949 for idx := range projectUUIDs {
@@ -976,10 +976,10 @@ func Test_LargeProjectList(t *testing.T) {
976976 test .WithPersistedServiceInfo ("shared" , test .DefaultLiquidServiceInfo ()),
977977 test .WithPersistedServiceInfo ("unshared" , test .DefaultLiquidServiceInfo ()),
978978 test .WithInitialDiscovery ,
979- test .WithEmptyRecordsAsNeeded ,
979+ test .WithEmptyResourceRecordsAsNeeded ,
980980 )
981981
982- // fill various fields that `test.WithEmptyRecordsAsNeeded ` initializes empty with reasonably plausible dummy values
982+ // fill various fields that `test.WithEmptyResourceRecordsAsNeeded ` initializes empty with reasonably plausible dummy values
983983 // (all those queries take an index into the project list as $1 and the project UUID as $2)
984984 queries := []string {
985985 `UPDATE project_services SET scraped_at = TO_TIMESTAMP($1) AT LOCAL WHERE project_id = (SELECT id FROM projects WHERE uuid = $2)` ,
@@ -1100,7 +1100,7 @@ func Test_PutMaxQuotaOnProject(t *testing.T) {
11001100 }` ),
11011101 test .WithPersistedServiceInfo ("shared" , test .DefaultLiquidServiceInfo ()),
11021102 test .WithInitialDiscovery ,
1103- test .WithEmptyRecordsAsNeeded ,
1103+ test .WithEmptyResourceRecordsAsNeeded ,
11041104 )
11051105
11061106 tr , tr0 := easypg .NewTracker (t , s .DB .Db )
@@ -1233,7 +1233,7 @@ func Test_PutQuotaAutogrowth(t *testing.T) {
12331233 test .WithPersistedServiceInfo ("shared" , test .DefaultLiquidServiceInfo ()),
12341234 test .WithPersistedServiceInfo ("unshared" , test .DefaultLiquidServiceInfo ()),
12351235 test .WithInitialDiscovery ,
1236- test .WithEmptyRecordsAsNeeded ,
1236+ test .WithEmptyResourceRecordsAsNeeded ,
12371237 )
12381238
12391239 tr , tr0 := easypg .NewTracker (t , s .DB .Db )
@@ -1409,7 +1409,7 @@ func TestResourceRenaming(t *testing.T) {
14091409 test .WithPersistedServiceInfo ("shared" , test .DefaultLiquidServiceInfo ()),
14101410 test .WithPersistedServiceInfo ("unshared" , test .DefaultLiquidServiceInfo ()),
14111411 test .WithInitialDiscovery ,
1412- test .WithEmptyRecordsAsNeeded ,
1412+ test .WithEmptyResourceRecordsAsNeeded ,
14131413 )
14141414
14151415 // helper function that makes one GET query per structural level and checks
@@ -1667,7 +1667,7 @@ func Test_SeparatedTopologyOperations(t *testing.T) {
16671667 test .WithConfig (testAZSeparatedConfigJSON ),
16681668 test .WithPersistedServiceInfo ("shared" , srvInfo ),
16691669 test .WithInitialDiscovery ,
1670- test .WithEmptyRecordsAsNeeded ,
1670+ test .WithEmptyResourceRecordsAsNeeded ,
16711671 )
16721672
16731673 s .MustDBExec (`
0 commit comments