Skip to content

Commit cfcbba4

Browse files
committed
test: Increase assertion timeout
1 parent a5703a3 commit cfcbba4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/templates/kuttl/smoke/test_nifi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ def get_token(nifi_host, username, password):
5252
node_count = int(args["count"])
5353

5454
x = 0
55-
while x < 15:
55+
while x < 30:
5656
url = host + "/nifi-api/controller/cluster"
5757
cluster = requests.get(
5858
url, headers=headers, verify=False
5959
) # , cert='/tmp/cacert.pem')
6060
if cluster.status_code != 200:
61-
print("Waiting for cluster...")
61+
print(f"Waiting for cluster (HTTP status code was {cluster.status_code})...")
6262
else:
6363
cluster_data = json.loads(cluster.content.decode("utf-8"))
6464
nodes = cluster_data["cluster"]["nodes"]

0 commit comments

Comments
 (0)