Skip to content

Commit

Permalink
netlib: next try
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommi2Day committed Aug 31, 2024
1 parent 5823101 commit b4fc560
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on: [push]

env:
DNS_HOST: docker
DNS_HOST: dind
# SKIP_LDAP: true
# SKIP_MAIL: true
# SKIP_ORACLE: true
Expand All @@ -12,7 +12,7 @@ jobs:
test:
runs-on: ubuntu-latest
services:
docker:
dind:
image: docker:dind-rootless
- 2375:2375
steps:
Expand All @@ -28,7 +28,7 @@ jobs:
go mod vendor
- name: Test
env:
# github copies the files with api, not as clone, check fails
# GitHub copies the files with api, not as clone, check fails
# https://github.com/actions/checkout/issues/335
SKIP_COMMIT: true
run: go test -v ./... -coverprofile=coverage.txt -covermode=atomic
Expand Down
2 changes: 1 addition & 1 deletion netlib/dns_docker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func prepareNetlibDNSContainer() (container *dockertest.Resource, err error) {
dns := NewResolver(netlibDNSServer, netlibDNSPort, true)
ips, e := dns.Resolver.LookupHost(context.Background(), netlibTestAddr)
if e != nil || len(ips) == 0 {
err = fmt.Errorf("Could not resolve DNS for %s on %s:%d: %v", netlibTestAddr, netlibDNSServer, netlibDNSPort, e)
err = fmt.Errorf("could not resolve DNS for %s on %s:%d: %v", netlibTestAddr, netlibDNSServer, netlibDNSPort, e)
destroyDNSContainer(container)
return
}
Expand Down

0 comments on commit b4fc560

Please sign in to comment.