Skip to content

Commit

Permalink
Enabled GEO tests after fix (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
qvad authored Feb 16, 2024
1 parent a8d5375 commit 1ffec11
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions yugabyte/run-jepsen.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@
"ysql/sz.multi-key-acid",
"ysql/sz.default-value",
"ysql/sz.ol.append",
# "ysql/sz.ol.geo.append",
"ysql/sz.ol.geo.append",

# YSQL snapshot isolation
"ysql/si.ol.append",
# "ysql/si.ol.geo.append",
"ysql/si.ol.geo.append",
"ysql/si.bank",
"ysql/si.bank-contention",
"ysql/si.bank-multitable",
Expand All @@ -96,23 +96,23 @@
"tests": [
# YSQL read committed
"ysql/rc.ol.append",
# "ysql/rc.ol.geo.append",
"ysql/rc.ol.geo.append",
]
},
{
"start_version": "2.15.0.0-b1",
"tests": [
"ysql/rc.pl.append",
# "ysql/rc.pl.geo.append",
"ysql/rc.pl.geo.append",
]
},
{
"start_version": "2.17.2.0-b1",
"tests": [
"ysql/sz.pl.append",
# "ysql/sz.pl.geo.append",
"ysql/sz.pl.geo.append",
"ysql/si.pl.append",
# "ysql/si.pl.geo.append",
"ysql/si.pl.geo.append",
]
}
]
Expand Down Expand Up @@ -251,13 +251,14 @@ def send_report_to_reportportal(
headers={"accept": "*/*", "Content-Type": "application/json",
"Authorization": f"bearer {reportportal_api_token}"})

if response.status_code == 200:
logging.info(f"Successfully updated attributes for launch {launch_id}")
else:
if response.status_code != 200:
logging.error(f"Could not update attributes for launch {launch_id}")
logging.error(f"Code: {response.status_code} Text: {response.text}")
return False

logging.info(f"Successfully updated attributes for launch {launch_id}")
return True


def run_cmd(cmd,
timeout=None,
Expand Down Expand Up @@ -434,7 +435,7 @@ def main():
"--os debian",
f"--url {url}",
f"--nemesis {nemeses}",
f"--ssh-private-key ~/.ssh/id_rsa", # tmp workaround for jepsen 0.2.7+ versions
f"--ssh-private-key ~/.ssh/id_rsa", # tmp workaround for jepsen 0.2.7+ versions
f"--concurrency {args.concurrency}"])

if args.iterations:
Expand Down

0 comments on commit 1ffec11

Please sign in to comment.