Skip to content

Commit 263ba82

Browse files
xinhaoyuancopybara-github
authored andcommitted
Change the FuzzTest/Centipede unit test duration to 1s.
This is to be the same as the legacy runtime. PiperOrigin-RevId: 764924388
1 parent 89005b7 commit 263ba82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fuzztest/internal/centipede_adaptor.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ fuzztest::internal::Environment CreateCentipedeEnvironmentFromConfiguration(
191191
const Configuration& configuration, absl::string_view workdir,
192192
absl::string_view test_name, RunMode run_mode) {
193193
fuzztest::internal::Environment env = CreateDefaultCentipedeEnvironment();
194-
constexpr absl::Duration kUnitTestDefaultDuration = absl::Seconds(3);
194+
constexpr absl::Duration kUnitTestDefaultDuration = absl::Seconds(1);
195195
env.fuzztest_single_test_mode = true;
196196
if (configuration.time_limit_per_input < absl::InfiniteDuration()) {
197197
const int64_t time_limit_seconds =

0 commit comments

Comments
 (0)