Skip to content

Commit

Permalink
Fix: test for 500 GB of disk
Browse files Browse the repository at this point in the history
  • Loading branch information
1yam committed Oct 14, 2024
1 parent fd99cd5 commit 36c80e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/message_processing/test_process_instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ async def test_compare_cost_view_with_cost_function(


@pytest.mark.asyncio
async def test_persistent_volume_1tb(
async def test_persistent_volume_500_GB(
session_factory: DbSessionFactory,
message_processor: PendingMessageProcessor,
fixture_instance_message: PendingMessageDb,
Expand All @@ -533,7 +533,7 @@ async def test_persistent_volume_1tb(
# Update the 'store' volume to 1000 GiB
for volume in content_dict["volumes"]:
if volume.get("persistence") == "store" and volume.get("name") == "statistics":
volume["size_mib"] = gigabyte_to_mebibyte(Gigabytes(1000))
volume["size_mib"] = gigabyte_to_mebibyte(Gigabytes(500))

fixture_instance_message.item_content = json.dumps(content_dict)

Expand Down Expand Up @@ -563,4 +563,4 @@ async def test_persistent_volume_1tb(
)

assert persistent_volume is not None, "PersistentVolume not found"
assert persistent_volume.size_mib == gigabyte_to_mebibyte(Gigabytes(1000))
assert persistent_volume.size_mib == gigabyte_to_mebibyte(Gigabytes(500))

0 comments on commit 36c80e1

Please sign in to comment.