Skip to content

Commit

Permalink
add default expire for tests
Browse files Browse the repository at this point in the history
Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>
  • Loading branch information
denis-tingaikin committed Jan 16, 2023
1 parent 8dc5085 commit 93ebccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suite_setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (f *TestSuite) SetupSuite() {
registrybegin.NewNetworkServiceEndpointRegistryServer(),
updatepath.NewNetworkServiceEndpointRegistryServer(spiffejwt.TokenGeneratorFunc(source, f.config.MaxTokenLifetime)),
authorize.NewNetworkServiceEndpointRegistryServer(),
expire.NewNetworkServiceEndpointRegistryServer(f.ctx, time.Minute),
expire.NewNetworkServiceEndpointRegistryServer(f.ctx, expire.WithDefaultExpiration(time.Minute)),
registryrecvfd.NewNetworkServiceEndpointRegistryServer(),
memrg,
)
Expand Down

0 comments on commit 93ebccd

Please sign in to comment.