test: ping hostname instead of localhost #1284
Labels
No labels
FreeBSD
Kind/Breaking
Kind/Bug
Kind/Chore
Kind/DependencyUpdate
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Windows
linux-powerpc64le
linux-riscv64
linux-s390x
run-end-to-end-tests
run-forgejo-tests
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo/runner!1284
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "test/ipv6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
docker v26 always enables ipv6 on loopback
extracted from #1150
test: ping hostname instad of localhostto test: ping hostname instead of localhostWhat's the benefit of this change?
There should probably be quotes around
$(cat /etc/hostname). Just to be on the safe side.@aahlenst wrote in #1284 (comment):
when upgrading to debian trixy, then we get docker v26 instead of v20 and because the host is ipv6 capable docker will enable ipv6 on the loopback device, so this test fails. see older builds of #1150
Will add quotes at
0f0fccc020@viceice wrote in #1284 (comment):
I took me some time to connect the dots. It's about testing the
--enable-ipv6switch which isn't possible if Docker does its own thing.@aahlenst wrote in #1284 (comment):
yes. 🤗