diff --git a/.github/workflows/test-eclipse-download.yml b/.github/workflows/test-eclipse-download.yml index 11f958c..7426f07 100644 --- a/.github/workflows/test-eclipse-download.yml +++ b/.github/workflows/test-eclipse-download.yml @@ -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:" @@ -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 -