Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions testinfra/test_ami_nix.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def gzip_then_base64_encode(s: str) -> str:
"HttpEndpoint": "enabled",
},
IamInstanceProfile={"Name": "pg-ap-southeast-1"},
InstanceType="t4g.micro" if image.architecture == "arm64" else "t3.micro",
InstanceType="t4g.micro" if image.architecture == "arm64" else "t3.small",
MinCount=1,
MaxCount=1,
ImageId=image.id,
Expand Down Expand Up @@ -411,7 +411,7 @@ def gzip_then_base64_encode(s: str) -> str:

def is_healthy(ssh) -> bool:
health_checks = [
("postgres", "sudo -u postgres /usr/bin/pg_isready -U postgres"),
("postgresql", "sudo -u postgres /usr/bin/pg_isready -U postgres"),
(
"adminapi",
f"curl -sf -k --connect-timeout 30 --max-time 60 https://localhost:8085/health -H 'apikey: {supabase_admin_key}'",
Expand Down
Loading