Skip to content

Commit

Permalink
HARMONY-1944: Prefix the workload request number with wl-req- and mak…
Browse files Browse the repository at this point in the history
…e sure the number matches the test number displayed in the Locust UI.
  • Loading branch information
chris-durbin committed Nov 26, 2024
1 parent a0fbe3b commit d1d9a2f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions workload/locustfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def _harmony_service_example_bbox_variable_reformat_single(self):
'granuleId': 'G1233800343-EEDTEST',
'outputCrs': 'EPSG:4326',
'format': 'image/png',
'label': '0,workload'
'label': 'wl-req-1,workload'
}
self._sync_request(name, collection, variable, params, 1)

Expand All @@ -36,7 +36,7 @@ def _random_num_granules_service_example(self):
'outputCrs': 'EPSG:4326',
'format': 'image/png',
'forceAsync': 'true',
'label': '1,workload'
'label': 'wl-req-0,workload'
}
self._async_request(name, collection, variable, params, 0)

Expand All @@ -52,7 +52,7 @@ def _harmony_service_example_bbox_variable_reformat_50_granules(self):
'outputCrs': 'EPSG:4326',
'format': 'image/png',
'maxResults': 50,
'label': '2,workload'
'label': 'wl-req-14,workload'
}
self._async_request(name, collection, variable, params, 14)

Expand All @@ -65,7 +65,7 @@ def _swath_projector_europe(self):
'outputCrs': '+proj=lcc +lat_1=43 +lat_2=62 +lat_0=30 +lon_0=10 +x_0=0 +y_0=0 +ellps=intl +units=m no_defs',
'interpolation': 'near',
'scaleExtent': '-7000000,1000000,8000000,8000000',
'label': '3,workload'
'label': 'wl-req-2,workload'
}
self._sync_request(name, collection, variable, params, 2)

Expand All @@ -76,7 +76,7 @@ def _netcdf_to_zarr_48_granules(self):
params = {
'format': 'application/x-zarr',
'maxResults': '48',
'label': '4,workload'
'label': 'wl-req-3,workload'
}
self._async_request(name, collection, variable, params, 3)

Expand All @@ -90,7 +90,7 @@ def _chain_swath_projector_europe_to_zarr(self):
'interpolation': 'near',
'scaleExtent': '-7000000,1000000,8000000,8000000',
'format': 'application/x-zarr',
'label': '5,workload'
'label': 'wl-req-4,workload'
}
self._async_request(name, collection, variable, params, 4)

Expand All @@ -101,7 +101,7 @@ def _netcdf_to_zarr_large_granule(self):
params = {
'format': 'application/x-zarr',
'maxResults': '1',
'label': '6,workload'
'label': 'wl-req-5,workload'
}
self._async_request(name, collection, variable, params, 5)

Expand All @@ -116,7 +116,7 @@ def _harmony_gdal_adapter(self) -> object:
'lat(23:24)',
'time("2014-10-30T15:00:00Z":"2014-10-30T15:59:00Z")'
],
'label': '7,workload'
'label': 'wl-req-6,workload'
}
self._sync_request(name, collection, variable, params, 6)

Expand All @@ -130,7 +130,7 @@ def _podaac_l2ss_sync_variable(self):
'lon(-160:160)',
'lat(-80:80)'
],
'label': '8,workload'
'label': 'wl-req-7,workload'
}
self._sync_request(name, collection, variable, params, 7)

Expand All @@ -141,7 +141,7 @@ def _hoss(self):
safe='')
params = {
'granuleid': 'G1245840469-EEDTEST',
'label': '9,workload'
'label': 'wl-req-8,workload'
}
self._sync_request(name, collection, variable, params, 8)

Expand All @@ -156,7 +156,7 @@ def _podaac_l2ss_async_spatial_temporal_50_granules(self):
'time("2019-06-22T00:00:00Z":"2019-06-22T23:59:59Z")'
],
'maxResults': 50,
'label': '10,workload'
'label': 'wl-req-9,workload'
}
self._async_request(name, collection, variable, params, 9)

Expand All @@ -167,7 +167,7 @@ def _netcdf_to_zarr_single_granule(self):
params = {
'maxResults': 1,
'format': 'application/x-zarr',
'label': '11,workload'
'label': 'wl-req-10,workload'
}
self._async_request(name, collection, variable, params, 10)

Expand All @@ -178,7 +178,7 @@ def _concise_two_granules(self):
params = {
'maxResults': 2,
'concatenate': 'true',
'label': '12,workload'
'label': 'wl-req-11,workload'
}
self._async_request(name, collection, variable, params, 11)

Expand All @@ -189,7 +189,7 @@ def _concise_50_granules(self):
params = {
'maxResults': 50,
'concatenate': 'true',
'label': '13,workload'
'label': 'wl-req-15,workload'
}
self._async_request(name, collection, variable, params, 15)

Expand All @@ -204,7 +204,7 @@ def _hoss_spatial_and_variable_subset(self):
'lat(-60:-30)',
'lon(-120:-90)',
],
'label': '14,workload'
'label': 'wl-req-12,workload'
}
self._sync_request(name, collection, variable, params, 12)

Expand All @@ -219,7 +219,7 @@ def _chain_l2ss_to_zarr(self):
'lon(0:180)',
],
'format': 'application/x-zarr',
'label': '15,workload'
'label': 'wl-req-13,workload'
}
self._async_request(name, collection, variable, params, 13)

Expand Down

0 comments on commit d1d9a2f

Please sign in to comment.