diff --git a/extend.md b/extend.md index 6c5760f41..29d97951e 100644 --- a/extend.md +++ b/extend.md @@ -177,7 +177,7 @@ To update the expected files, run `UPDATE_SNAPSHOTS=true bazel run //path/to:the | test_data | A list of target of the test data files you will pass to the test. This can be a https://bazel.build/reference/be/general#filegroup. | none | | build_in_suffix | The suffix for the input BUILD.bazel files. Defaults to .in. By default, will use files named BUILD.in as the BUILD files before running gazelle. | `".in"` | | build_out_suffix | The suffix for the expected BUILD.bazel files after running gazelle. Defaults to .out. By default, will use files named check the results of the gazelle run against files named BUILD.out. | `".out"` | -| gazelle_timeout_seconds |

-

| `2` | +| gazelle_timeout_seconds | Number of seconds to allow the gazelle process to run before killing. | `2` | | size | Specifies a test target's "heaviness": how much time/resources it needs to run. | `None` | | kwargs | Attributes that are passed directly to the test declaration. | none | diff --git a/internal/generationtest/generationtest.bzl b/internal/generationtest/generationtest.bzl index 5b26ee332..6a4ea3fe6 100644 --- a/internal/generationtest/generationtest.bzl +++ b/internal/generationtest/generationtest.bzl @@ -50,7 +50,7 @@ def gazelle_generation_test(name, gazelle_binary, test_data, build_in_suffix = " By default, will use files named BUILD.in as the BUILD files before running gazelle. build_out_suffix: The suffix for the expected BUILD.bazel files after running gazelle. Defaults to .out. By default, will use files named check the results of the gazelle run against files named BUILD.out. - timeout_seconds: Number of seconds to allow the gazelle process to run before killing. + gazelle_timeout_seconds: Number of seconds to allow the gazelle process to run before killing. size: Specifies a test target's "heaviness": how much time/resources it needs to run. **kwargs: Attributes that are passed directly to the test declaration. """