Skip to content

Commit c33cbef

Browse files
committed
remove added lint from vet.sh
1 parent cfc815b commit c33cbef

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/vet.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ not grep 'func Test[^(]' -- test/*.go
5050
git grep 'func (s) ' -- "*_test.go" | not grep -v 'func (s) Test'
5151
git grep 'func [A-Z]' -- "*_test.go" | not grep -v 'func Test\|Benchmark\|Example'
5252

53-
# - Make sure all context usages are done timeout.
54-
git grep -e 'context.Background()' --or -e 'context.TODO()' -- "*_test.go" | grep -v "benchmark/primitives/context_test.go" | grep -v "credentials/google" | grep -v "internal/transport/" | grep -v "xds/internal/" | grep -v "security/advancedtls" | not grep -v 'context.WithTimeout(' | not grep -v 'context.WithCancel('
55-
5653
# - Do not use time.After except in tests. It has the potential to leak the
5754
# timer since there is no way to stop it early.
5855
git grep -l 'time.After(' -- "*.go" | not grep -v '_test.go\|test_utils\|testutils'

0 commit comments

Comments
 (0)