Skip to content

Commit cfb6290

Browse files
committed
orchestratord test: Some improvements
1 parent 8b29dc0 commit cfb6290

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

test/orchestratord/mzcompose.py

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,21 +1114,18 @@ def run(definition: dict[str, Any]):
11141114

11151115
for i in range(120):
11161116
try:
1117-
pod_names = (
1118-
spawn.capture(
1119-
[
1120-
"kubectl",
1121-
"get",
1122-
"pods",
1123-
"-n",
1124-
"materialize",
1125-
"-o",
1126-
"name",
1127-
],
1128-
stderr=subprocess.DEVNULL,
1129-
)
1130-
.strip()
1131-
.split("\n")
1117+
spawn.capture(
1118+
[
1119+
"kubectl",
1120+
"get",
1121+
"crd",
1122+
"materializes.materialize.cloud",
1123+
"-n",
1124+
"materialize",
1125+
"-o",
1126+
"name",
1127+
],
1128+
stderr=subprocess.DEVNULL,
11321129
)
11331130
for pod_name in pod_names:
11341131
status = spawn.capture(

0 commit comments

Comments
 (0)