mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-10 23:57:34 +02:00
grpc: send client traffic through envoy (#2469)
* wip * wip * handle wildcards in override name * remove wait for ready, add comment about sync, force initial sync complete in test * address comments
This commit is contained in:
parent
87c3c675d2
commit
bbec2cae9f
26 changed files with 391 additions and 480 deletions
|
@ -69,6 +69,7 @@ func TestEvents(t *testing.T) {
|
|||
li, err := net.Listen("tcp", "127.0.0.1:0")
|
||||
require.NoError(t, err)
|
||||
defer li.Close()
|
||||
_, outboundPort, _ := net.SplitHostPort(li.Addr().String())
|
||||
|
||||
var putRequest *databrokerpb.PutRequest
|
||||
var setOptionsRequest *databrokerpb.SetOptionsRequest
|
||||
|
@ -100,6 +101,7 @@ func TestEvents(t *testing.T) {
|
|||
srv := &Server{}
|
||||
srv.currentConfig.Store(versionedConfig{
|
||||
Config: &config.Config{
|
||||
OutboundPort: outboundPort,
|
||||
Options: &config.Options{
|
||||
SharedKey: cryptutil.NewBase64Key(),
|
||||
DataBrokerURLString: "http://" + li.Addr().String(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue