package wl_integration_test

import (
	. "github.com/onsi/ginkgo"
	. "github.com/onsi/gomega"
)

var _ = Describe("basic root functionality", func() {
	It("gets root correctly", func() {
		root, err := client.Root()
		Expect(err).NotTo(HaveOccurred())

		Expect(root.ID).To(BeNumerically(">", 0))
	})
})

package wl_integration_test

import (
	. "github.com/onsi/ginkgo"
	. "github.com/onsi/gomega"
	"github.com/robdimsdale/wl"
)

var _ = Describe("basic root functionality", func() {
	It("gets root correctly", func() {
		var err error
		var root wl.Root
		Eventually(func() error {
			root, err = client.Root()
			return err
		}).Should(Succeed())

		Expect(root.ID).To(BeNumerically(">", 0))
	})
})

Reduce flakiness in root test.
Reduce flakiness in root test.

[#105727604]
