Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Dean Roehrich <[email protected]>
  • Loading branch information
roehrich-hpe committed Apr 1, 2024
1 parent e5a6aa8 commit 32e25de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Feature: Integration test environment
Then the UIDs match and the cluster is the same

Scenario: Slurm is usable
Given a two-minute startup delay
Given a job script:
#!/bin/bash
/bin/hostname
Expand Down
7 changes: 6 additions & 1 deletion testsuite/integration/src/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import os
import secrets
import warnings
import time
import pytest

from kubernetes import client, config
Expand Down Expand Up @@ -60,6 +60,11 @@ def _(script):

os.remove(path)

@given('a two-minute startup delay')
def _(slurmctld):
"""a two-minute startup delay"""
time.sleep(120)

@when('the job is run', target_fixture="jobId")
def _(slurmctld, script_path):
"""the job is run."""
Expand Down

0 comments on commit 32e25de

Please sign in to comment.