Skip to content

Commit

Permalink
Reorganise order of checks
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Stankiewicz <[email protected]>
  • Loading branch information
pstankie committed Jan 22, 2025
1 parent 990b2cf commit 64bf1ea
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/test-eclipse-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ jobs:
sudo apt-get update
sudo apt-get install -y curl
# this will cause DNS resolution and we want it to be essential part of the test on cold caches
- name: Perform HTTP GET Request with Timing
run: |
echo "####################### Test 1 ##########################"
curl -v -o /dev/null -s -w "DNS Lookup: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal Time: %{time_total}s\n" https://download.eclipse.org/eclipse/updates/4.35-I-builds
echo
echo "####################### Test 2 ##########################"
curl -v -o /dev/null -s -w "DNS Lookup: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal Time: %{time_total}s\n" https://download.eclipse.org/eclipse/updates/4.35-I-builds/
echo
echo "####################### Test 3 ##########################"
curl -v -o /dev/null -s -w "DNS Lookup: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal Time: %{time_total}s\n" https://download.eclipse.org/eclipse/updates/4.35-I-builds/I20250120-1800/plugins/org.eclipse.jface.text_3.27.0.v20250120-1631.jar
- name: Check if systemd-resolved is active
run: |
echo "Checking systemd-resolved status:"
Expand Down Expand Up @@ -54,16 +68,3 @@ jobs:
echo "Checking DNS resolution using Cloudflare DNS API..."
curl -s "https://cloudflare-dns.com/dns-query?name=download.eclipse.org&type=A" -H "accept: application/dns-json" | jq
- name: Perform HTTP GET Request with Timing
run: |
echo "####################### Test 1 ##########################"
curl -v -o /dev/null -s -w "DNS Lookup: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal Time: %{time_total}s\n" https://download.eclipse.org/eclipse/updates/4.35-I-builds
echo
echo "####################### Test 2 ##########################"
curl -v -o /dev/null -s -w "DNS Lookup: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal Time: %{time_total}s\n" https://download.eclipse.org/eclipse/updates/4.35-I-builds/
echo
echo "####################### Test 3 ##########################"
curl -v -o /dev/null -s -w "DNS Lookup: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal Time: %{time_total}s\n" https://download.eclipse.org/eclipse/updates/4.35-I-builds/I20250120-1800/plugins/org.eclipse.jface.text_3.27.0.v20250120-1631.jar

0 comments on commit 64bf1ea

Please sign in to comment.