events: remove xds configuraton update (#3792)

This commit is contained in:
Denis Mishin 2022-12-06 14:46:45 -05:00 committed by GitHub
parent 57217af7dd
commit ce1b8701da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 8 additions and 823 deletions

View file

@ -85,13 +85,13 @@ func TestEvents(t *testing.T) {
},
}),
}
err := srv.storeEvent(ctx, new(events.EnvoyConfigurationEvent))
err := srv.storeEvent(ctx, new(events.LastError))
assert.NoError(t, err)
return err
})
_ = eg.Wait()
assert.Equal(t, uint64(maxEvents), setOptionsRequest.GetOptions().GetCapacity())
assert.Equal(t, "type.googleapis.com/pomerium.events.EnvoyConfigurationEvent", putRequest.GetRecord().GetType())
assert.Equal(t, "type.googleapis.com/pomerium.events.LastError", putRequest.GetRecord().GetType())
})
}