Add ability to set public cluster address (#761)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-10-30 16:54:53 -04:00
1 parent 038540f9ad
commit e2e4631929
14 files changed
+84 -16

No files matched your search

+3
View File
@@ -406,6 +406,9 @@ func NewTestController(t *testing.T, opts *TestControllerOpts) *TestController {
if err := tc.b.SetupListeners(nil, opts.Config.SharedConfig, []string{"api", "cluster"}); err != nil {
t.Fatal(err)
}
if err := tc.b.SetupControllerPublicClusterAddress(opts.Config, ""); err != nil {
t.Fatal(err)
}
if opts.DatabaseUrl != "" {
tc.b.DatabaseUrl = opts.DatabaseUrl