Craig Tiller
c744f33790
[fuzzer] Add api fuzzing capabilities to client & server fuzzer ( #34609 )
...
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
1 year ago
Craig Tiller
8391f19a22
[api-fuzzer] Move most of the functionality down into BasicFuzzer ( #34605 )
...
Prep to leverage this work in server_fuzzer, client_fuzzer
1 year ago
Craig Tiller
0814055337
[fuzzers] Expand client_fuzzer, server_fuzzer ( #34596 )
...
Allow multiple writes, and allow those writes to know about http2
(leverages the new framing layer for chttp2 recently written)
1 year ago
AJ Heller
4fde5dabf6
[fuzzing] Extract and modernize ChannelArgs fuzzer configuration ( #33161 )
...
ChannelArgs fuzz configuration is expected to be used in other fuzzing
targets as well. This PR extracts the common code from the API fuzzer
and converts to use the C++ types.
2 years ago
Yijie Ma
1d10ca77ce
[Fuzzing] Migrate client and server_fuzzer to structured fuzzing ( #32878 )
...
- Added `fuzzer_input.proto` and `NetworkInput` proto message
- Migrated client_fuzzer and server_fuzzer to proto fuzzer
- Migrated the existing corpus and verified that the code coverage (e.g.
chttp2) stays the same
Probably need to cherrypick due to amount of files changed.
<!--
If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the
appropriate
lang label.
-->
2 years ago
Vignesh Babu
a2c89d0b24
[fuzzing] Define a common fuzzing interface and move API fuzzer to it ( #32853 )
...
Requires cherrypick for grpc_fuzzer.bzl file.
2 years ago
Craig Tiller
db3daf567b
[api-fuzzer] Enable fuzzing over config vars ( #32736 )
...
Add the capability for api-fuzzer to fuzz over different config
variables, to enable us to spot incompatible configurations there
sooner.
---------
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
77b3972f95
Clean up the TODO item in build target `grpc_base` part `channel_args` ( #31642 )
...
* Clean up the TODO item in build target `grpc_base` part `channel_args`
* Update
* Update
* Update
* Automated change: Fix sanity tests
* update
* Automated change: Fix sanity tests
2 years ago
Craig Tiller
b04aa1cf92
[event_engine] Move combiner executor usage to event engine ( #31713 )
...
* [event_engine] Move combiner executor usage to event engine
* fix
* review feedback
* fix
* x
* fix
* fix
2 years ago
Cheng-Yu Chung
7e3ada34e6
Clean up the TODO item in build target `grpc_base` -- part `closure` ( #31001 )
...
* Clean up the TODO item in build target `grpc_base` part `closure`
* Update
* Update
* Revert "Update"
This reverts commit daf3118390
.
* Update
* Update
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
3ef817b3bf
Clean up the TODO item in build target `grpc_base` -- part `slice` ( #31003 )
...
* Clean up the TODO item in build target `grpc_base` part `slice`
* Automated change: Fix sanity tests
2 years ago
Craig Tiller
05e6bf2e4a
[build] Add test/core/util, test/core/event_engine to auto build deps ( #30364 )
...
* [build] Add test/core/util, test/core/event_engine to auto build deps
* deal with suppressions
* fix suppressions
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* progress
* Automated change: Fix sanity tests
* fix
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
7cbffb9218
[mac] Disable API fuzzer ( #30105 )
...
* mac fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
24caf53835
Roll forward iomgr ee fork ( #30022 )
...
* Revert "Revert "[event-engine] Fork timer code (#29816 )" (#30020 )"
This reverts commit cda2127776
.
* fix-import
* [event_engine] Use durations for scheduling things
* fix
* Automated change: Fix sanity tests
* run-after
* fix
* Automated change: Fix sanity tests
* rename
* Automated change: Fix sanity tests
* format is changing, expunge corpus
* update api_fuzzer
* fix
* Automated change: Fix sanity tests
* fix
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
AJ Heller
18a8f6aad9
Refactor end2end tests to exercise each EventEngine ( #29202 )
...
* Refactor end2end tests to exercise each EventEngine
* fix incorrect bazel_only exclusions
* Automated change: Fix sanity tests
* microbenchmark fix
* sanitize, fix iOS flub
* Automated change: Fix sanity tests
* iOS fix
* reviewer feedback
* first pass at excluding EventEngine test expansion
Also caught a few cases where we should not test pollers, but should
test all engines. And two cases where we likely shouldn't be testing
either product.
* end2end fuzzers to be fuzzed differently via EventEngine.
* sanitize
* reviewer feedback
* remove misleading comment
* reviewer feedback: comments
* EE test_init needs to play with our build system
* fix golden file test runner
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
3 years ago
Craig Tiller
5fc3ff8203
grpc_millis -> Timestamp/Duration ( #28119 )
...
* wip
* Automated change: Fix sanity tests
* fixes
* progress
* progress
* grpc compiles
* Automated change: Fix sanity tests
* fixing tests
* x
* progress
* better code
* Automated change: Fix sanity tests
* progress
* progress
* windows fix
* Make Duration metadata trivial
* better message
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fix
* progress
* fixes
* fix
* fix
* spam
* un-disable errantly disabled tests
* gain insight
* Automated change: Fix sanity tests
* fixes
* fixes
* fix
* debug
* tweak
* fix
* fix timeout
* fix comment
* fixes
* x
* better test
* tests
* Automated change: Fix sanity tests
* missed file
* fix
* x
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* merge
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Richard Belleville
468768865b
Make Buildifier Sanity Test Strict ( #27807 )
...
* Fix all lint errors in repo.
* Use strict buildifier by default
* Whoops. That file does not exist
* Attempt fix to buildifier invocation
* Add missing copyright
3 years ago
Craig Tiller
76dd0474e4
Upgrade API fuzzer to be a proto based structural fuzzer ( #27564 )
...
* start cleaning up
* progress
* Automated change: Fix sanity tests
* progress
* Automated change: Fix sanity tests
* progress
* get this running again
* Automated change: Fix sanity tests
* ugh
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
d1e01ac139
Add a test for a (now-illegal) build file construct ( #27602 )
...
* Add a test for a (now-illegal) build file construct
* add to test suite!
* fix
* fix
* fix syntax
3 years ago
Craig Tiller
3d80d4ea64
Revert deletion of api_fuzzer.cc ( #27424 )
...
* Revert "Delete api_fuzzer"
This reverts commit 6f5b4624af
.
* Revert "Delete api_fuzzer.cc"
This reverts commit ff8fecb7f2
.
* fix some stuff
* more fixes
* more fixes
* compiles
* Automated change: Fix sanity tests
* corpus update
* fixes
* Automated change: Fix sanity tests
* fix illegal term
* fix?
* clear corpora
* cleanup
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Yash Tibrewal
6f5b4624af
Delete api_fuzzer
5 years ago
Jan Tattermusch
986070d280
use test size instead of timeout
5 years ago
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
5 years ago
Jan Tattermusch
8e79705d29
disable fuzzers on windows
5 years ago
Adele Zhou
aadbd18596
Also add size
7 years ago
Adele Zhou
7bc84a2256
Use timeout instead of size
7 years ago
Adele Zhou
8f7bdecf7c
Set default size large for fuzzer tests, and enormous for api_fuzzer
7 years ago
Yash Tibrewal
77532036b6
BUILD changes. test languauge to C++
7 years ago
Yash Tibrewal
4d71636fcc
some BUILD changes and designated initializers
7 years ago
yang-g
b98bf8c165
Make package names consistent under test/core
8 years ago
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
8 years ago
Jan Tattermusch
4d5c3102a1
fix remaining license notices
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Nicolas "Pixel" Noble
af6c83f9e1
Adding dummy layering check option.
8 years ago
Nicolas "Pixel" Noble
15cd5ce2ed
Rewriting core tests BUILD files to use the build system.
8 years ago
Nicolas "Pixel" Noble
7c26eed838
Buildifier and wrapping test/cpp/* rules with our build system.
8 years ago
yang-g
43dc9ed3b7
Add licenses to all BUILD files and missing copyright
8 years ago
Craig Tiller
9f87ee2792
Fixes for tests
8 years ago
Craig Tiller
f4f2eac66d
All fuzzers
8 years ago
Ken Payson
58c0f96f19
Allow pointer channel args python
8 years ago
Ken Payson
63d8af2b00
Add parameter for server options
8 years ago
Nathaniel Manista
46585e23f1
Update examples to GA API
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Leifur Halldor Asgeirsson
4df39871d0
python3-compatible syntax for python examples
9 years ago
Nathaniel Manista
061d288f55
Beta Python documentation correction and update
10 years ago
Stanley Cheung
20fa6693f3
move examples to correct locations
10 years ago
Stanley Cheung
6905915db1
prepare for move
10 years ago
Jan Tattermusch
7dfd4abba5
added python helloworld
10 years ago
Tim Emiola
49f3ccdd01
Adds a helloworld sample in ruby.
10 years ago