Skip to content
Snippets Groups Projects
  • Emanuele Aina's avatar
    b32f56d2
    Fix building the testsuite by updating Go > 1.20 · b32f56d2
    Emanuele Aina authored
    
    The testsuite build currently fails with:
    
        $ ginkgo -r --randomize-all --randomize-suites --fail-on-pending --cover --trace --race --progress -v
        Failed to compile mediator:
        # github.com/onsi/gomega/internal
        /go/pkg/mod/github.com/onsi/gomega@v1.33.1/internal/async_assertion.go:556:19: undefined: context.Cause
        note: module requires Go 1.20
        # github.com/onsi/ginkgo/v2/internal
        /go/pkg/mod/github.com/onsi/ginkgo/v2@v2.19.0/internal/spec_context.go:20:17: undefined: context.CancelCauseFunc
        /go/pkg/mod/github.com/onsi/ginkgo/v2@v2.19.0/internal/spec_context.go:33:25: undefined: context.WithCancelCause
        note: module requires Go 1.20
    
    Update to the latest `golang` images to fix the issue.
    
    Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
    b32f56d2
    History
    Fix building the testsuite by updating Go > 1.20
    Emanuele Aina authored
    
    The testsuite build currently fails with:
    
        $ ginkgo -r --randomize-all --randomize-suites --fail-on-pending --cover --trace --race --progress -v
        Failed to compile mediator:
        # github.com/onsi/gomega/internal
        /go/pkg/mod/github.com/onsi/gomega@v1.33.1/internal/async_assertion.go:556:19: undefined: context.Cause
        note: module requires Go 1.20
        # github.com/onsi/ginkgo/v2/internal
        /go/pkg/mod/github.com/onsi/ginkgo/v2@v2.19.0/internal/spec_context.go:20:17: undefined: context.CancelCauseFunc
        /go/pkg/mod/github.com/onsi/ginkgo/v2@v2.19.0/internal/spec_context.go:33:25: undefined: context.WithCancelCause
        note: module requires Go 1.20
    
    Update to the latest `golang` images to fix the issue.
    
    Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>