Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shangyian committed Feb 8, 2025
1 parent f9fd67f commit 7e4961f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions datajunction-server/tests/api/materializations_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ async def test_druid_cube_incremental(
- Job Type: druid_cube
- Strategy: incremental_time
"""
cube_name = "default.repairs_cube__incremental"
cube_name = "default.repairs_cube__default_incremental"
client_with_repairs_cube = await client_with_repairs_cube(cube_name=cube_name)
# [failure] If there is no time partition column configured
response = await client_with_repairs_cube.post(
Expand Down Expand Up @@ -776,7 +776,7 @@ async def test_druid_cube_incremental(
assert response.status_code in (200, 201)
assert response.json()["message"] == (
"Successfully updated materialization config named `druid_cube__incremental_time__default"
".repair_orders_fact.order_date` for node `default.repairs_cube__incremental`"
".repair_orders_fact.order_date` for node `default.repairs_cube__default_incremental`"
)
_, kwargs = module__query_service_client.materialize_cube.call_args_list[0] # type: ignore
mat = kwargs["materialization_input"]
Expand All @@ -786,7 +786,7 @@ async def test_druid_cube_incremental(
)
assert mat.job == "DruidCubeMaterializationJob"
assert mat.cube == NodeNameVersion(
name="default.repairs_cube__incremental",
name="default.repairs_cube__default_incremental",
version="v1.0",
)
assert mat.dimensions == [
Expand Down

0 comments on commit 7e4961f

Please sign in to comment.