Skip to content

Commit

Permalink
clenup and long wait
Browse files Browse the repository at this point in the history
  • Loading branch information
joshburt committed Dec 11, 2023
1 parent add4597 commit 5216b20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
14 changes: 1 addition & 13 deletions tests/system/ae5_tools/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,18 +292,6 @@ def test_project_sessions(cli_session):
slist = _cmd("project", "sessions", prec["id"])
assert len(slist) == 1 and slist[0]["id"] == srec["id"]


@pytest.mark.skip(reason="Disabling until CI is upgraded to 5.6.2")
def test_session_branches_5_6_2(cli_session):
"""Behavior updated in 5.6.2"""
prec, srec = cli_session
branches = _cmd("session", "branches", prec["id"])
bdict = {r["branch"]: r["sha1"] for r in branches}
assert set(bdict) == {"local", "master"}, branches
assert bdict["local"] == bdict["master"], branches


@pytest.mark.skip(reason="Disabling until CI is upgraded to 5.7.0")
def test_session_branches_5_7_0(cli_session):
"""Behavior updated in 5.7.0"""
prec, srec = cli_session
Expand Down Expand Up @@ -351,7 +339,7 @@ def test_deploy(cli_deployment):
prec, drec = cli_deployment
assert drec["owner"] == prec["owner"], drec
assert drec["project_name"] == prec["name"], drec
for attempt in range(3):
for attempt in range(10):
try:
ldata = _cmd("call", "/", "--endpoint", drec["endpoint"], table=False)
break
Expand Down
11 changes: 0 additions & 11 deletions tests/system/ae5_tools/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,17 +435,6 @@ def test_project_sessions(user_session, api_session):
assert len(slist) == 1 and slist[0]["id"] == srec["id"]


@pytest.mark.skip(reason="Disabling until CI is upgraded to 5.6.2")
def test_session_branches_5_6_2(user_session, api_session):
"""Behavior changed in 5.6.2"""
prec, srec = api_session
branches = user_session.session_branches(srec, format="json")
bdict = {r["branch"]: r["sha1"] for r in branches}
assert set(bdict) == {"local", "master"}, branches
assert bdict["local"] == bdict["master"], branches


@pytest.mark.skip(reason="Disabling until CI is upgraded to 5.7.0")
def test_session_branches_5_7_0(user_session, api_session):
"""Behavior changed in 5.7.0"""
prec, srec = api_session
Expand Down

0 comments on commit 5216b20

Please sign in to comment.