Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Integration Testing #19

Open
davinci26 opened this issue May 15, 2024 · 0 comments
Open

Enable Integration Testing #19

davinci26 opened this issue May 15, 2024 · 0 comments

Comments

@davinci26
Copy link
Collaborator

When we run integration tests in the github CI we get the following exception due to Envoy not being available in the container:

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xf8fdc15]

goroutine 729 [running]:
testing.tRunner.func1.2({0xfa78200, 0xfebf920})
	/Users/ben.kochie/.asdf/installs/golang/1.22.0/go/src/testing/testing.go:1631 +0x3f7
testing.tRunner.func1()
	/Users/ben.kochie/.asdf/installs/golang/1.22.0/go/src/testing/testing.go:1634 +0x6b6
panic({0xfa78200?, 0xfebf920?})
	/Users/ben.kochie/.asdf/installs/golang/1.22.0/go/src/runtime/panic.go:770 +0x132
github.com/reddit/monoceros/internal/supervisor.TestSupervisorRun.func7(0xc00013d520)
	/Users/ben.kochie/github/reddit/monoceros/internal/supervisor/supervisor_test.go:577 +0x12d5
testing.tRunner(0xc00013d520, 0xfb0a890)
	/Users/ben.kochie/.asdf/installs/golang/1.22.0/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 13
	/Users/ben.kochie/.asdf/installs/golang/1.22.0/go/src/testing/testing.go:1742 +0x826
FAIL	github.com/reddit/monoceros/internal/supervisor	31.593s
ok  	github.com/reddit/monoceros/internal/worker	11.653s
FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant