Skip to content

Commit

Permalink
Merge pull request #334 from evidolob/fix-test2
Browse files Browse the repository at this point in the history
Add DNS '8.8.8.8' server to use in test
  • Loading branch information
openshift-merge-bot[bot] authored Mar 6, 2024
2 parents a6d8ada + c71bad3 commit 301d4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var _ = ginkgo.Describe("dns", func() {
gomega.Expect(string(out)).To(gomega.ContainSubstring("wikipedia.org nameserver = ns0.wikimedia.org."))
})
ginkgo.It("should resolve LDAP SRV record for google.com", func() {
out, err := sshExec("nslookup -query=srv _ldap._tcp.google.com")
out, err := sshExec("nslookup -query=srv _ldap._tcp.google.com 8.8.8.8")
gomega.Expect(err).ShouldNot(gomega.HaveOccurred())
gomega.Expect(string(out)).To(gomega.ContainSubstring(`_ldap._tcp.google.com service = 5 0 389 ldap.google.com.`))
})
Expand Down

0 comments on commit 301d4d6

Please sign in to comment.