sourcegraph/internal/endpoint/main_test.go
Tomás Senart 3478f19d80
endpoints: improved k8s statefulset support now with ports (#23889)
* Revert "Revert "endpoint: improve k8s stateful set support (#23852)""

This reverts commit 7dc29e29db.

* endpoints: construct endpoint URL correctly

The last PR introduced a bug by not using u.endpointURL like before. So
we were missing port numbers and the service name in each endpoint.

Facepalm.

* Revert "Revert "endpoints: properly name the discovery function (#23883)""

This reverts commit acb5c1f728.
2021-08-13 12:27:38 +02:00

13 lines
119 B
Go

package endpoint
import (
"flag"
"os"
"testing"
)
func TestMain(m *testing.M) {
flag.Parse()
os.Exit(m.Run())
}