Skip to content

Commit b252c19

Browse files
Clean-up e2e test files
1 parent daccfe4 commit b252c19

File tree

3 files changed

+1
-316
lines changed

3 files changed

+1
-316
lines changed

tests/e2e/mnist_raycluster_sdk.py

Lines changed: 0 additions & 93 deletions
This file was deleted.

tests/e2e/mnist_raycluster_sdk_test.go

Lines changed: 0 additions & 208 deletions
This file was deleted.

tests/e2e/mnist_raycluster_sdk_test.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
from kubernetes import client, config
22
import kubernetes.client
3-
import subprocess
43

5-
import sys
64
import os
75

86
from time import sleep
@@ -86,7 +84,6 @@ def run_mnist_raycluster_sdk(self):
8684
)
8785
)
8886

89-
9087
cluster.up()
9188
self.assert_appwrapper_exists()
9289

@@ -127,18 +124,7 @@ def run_mnist_raycluster_sdk(self):
127124

128125
cluster.down()
129126

130-
131-
# if not status.state == AppState.SUCCEEDED:
132-
133-
# script_path = './tests/e2e/mnist_raycluster_sdk.py'
134-
# result = subprocess.run(['python', script_path, self.namespace])
135-
# output = result.stdout
136-
# errors = result.stderr
137-
# if result.returncode != 0:
138-
# raise subprocess.CalledProcessError(result.returncode, 'python', output=output, stderr=errors)
139-
# return output
140-
141-
127+
# Assertions
142128
def assert_appwrapper_exists(self):
143129
try:
144130
self.custom_api.get_namespaced_custom_object("workload.codeflare.dev", "v1beta1", self.namespace, "appwrappers", "mnist")

0 commit comments

Comments
 (0)