Skip to content

Commit

Permalink
increate secret job resource requests
Browse files Browse the repository at this point in the history
  • Loading branch information
zubenkoivan committed May 11, 2024
1 parent cb277cf commit c027d48
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@
from jose import jwt
from neuro_admin_client import AdminClient, ClusterUserRoleType
from neuro_auth_client import AuthClient
from neuro_sdk import DEFAULT_CONFIG_PATH, HTTPPort, JobStatus, ResourceNotFound, get
from neuro_sdk import (
DEFAULT_CONFIG_PATH,
HTTPPort,
JobStatus,
ResourceNotFound,
Resources,
get,
)
from yarl import URL

from platform_e2e import Helper, ensure_config
Expand Down Expand Up @@ -321,6 +328,11 @@ async def _run(
name=name,
description=description,
http=http,
resources=Resources(
cpu=0.1,
memory=256 * 10**6,
shm=True,
),
)
kill_later(job.id)
return {
Expand Down

0 comments on commit c027d48

Please sign in to comment.