8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fc6797 commit 06a3feaCopy full SHA for 06a3fea
coderd/rbac/authz_internal_test.go
@@ -249,15 +249,16 @@ func TestFilter(t *testing.T) {
249
localObjects := make([]fakeObject, len(objects))
250
copy(localObjects, objects)
251
252
- ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitMedium)
253
- defer cancel()
254
auth := NewAuthorizer(prometheus.NewRegistry())
255
256
if actor.Scope == nil {
257
// Default to ScopeAll
258
actor.Scope = ScopeAll
259
}
260
+ ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitLong)
+ defer cancel()
261
+
262
// Run auth 1 by 1
263
var allowedCount int
264
for i, obj := range localObjects {
0 commit comments