Skip to content

Commit

Permalink
Fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed May 20, 2024
1 parent 42c751d commit 80248a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/sdk/test/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def test_resource_request(
# Upload the serialized model to MLP
merlin.log_model(model_dir=model_dir)

resource_request = ResourceRequest(1, 1, "100m", "256Mi")
resource_request = ResourceRequest(1, 1, "100m", "2", "256Mi")
endpoint = merlin.deploy(
v,
environment_name=default_env.name,
Expand Down Expand Up @@ -560,7 +560,7 @@ def test_resource_request_with_gpu(
# Upload the serialized model to MLP
merlin.log_model(model_dir=model_dir)

resource_request = ResourceRequest(1, 1, "100m", "256Mi", **gpu_config)
resource_request = ResourceRequest(1, 1, "100m", "2", "256Mi", **gpu_config)
endpoint = merlin.deploy(
v,
environment_name=default_env.name,
Expand Down Expand Up @@ -1271,7 +1271,7 @@ def test_redeploy_model(integration_test_url, project_name, use_google_oauth, re
),
deployment_mode=DeploymentMode.RAW_DEPLOYMENT,
transformer=Transformer(image="gcr.io/kubeflow-ci/kfserving/image-transformer:latest",
resource_request=merlin.ResourceRequest(0, 1, "100m", "3", "250Mi")),
resource_request=merlin.ResourceRequest(0, 1, "100m", "2", "250Mi")),
)

resp = requests.post(f"{new_endpoint.url}", json=req)
Expand Down

0 comments on commit 80248a1

Please sign in to comment.