Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix flaky behavior of GroupedOutputFixture with embedded builds

The start of an embedded build (GraldeBuild task) can also mark the end

of a task output logging group.

  1. … 1 more file in changeset.
Relax matching of work-in-progress items

If the items (e.g. '> IDLE') is formatted (e.g. [1B> IDLE) it is now

stripped as well. Without this, the String "> IDLE" was kept in

the output and could end up in one of the output groups.

  1. … 1 more file in changeset.
Implement functional test for `--dry-run` flag (#2204)

Implement functional test for `--dry-run` flag

  1. … 3 more files in changeset.
Fixed flaky test.

Improve rich console parsing for WIP items

  1. … 1 more file in changeset.
Added `BlockingHttpServer.put()` to allow a test to expect PUT requests, and `missing()` to allow a test to specify that a 404 response should be returned for an expected GET request.

  1. … 12 more files in changeset.
Remove the right amount of new lines from WIP area

  1. … 2 more files in changeset.
Improved some error handling in `BlockingHttpServer`.

  1. … 4 more files in changeset.
Tweaked the API of `BlockingHttpServer` to make it somewhat more convenient to use in tests.

  1. … 15 more files in changeset.
Test logs should be grouped with it's other task output (#2052)

  1. … 9 more files in changeset.
Changed `BlockingHttpServer` to allow a test to write a portion of the response for an HTTP request and then block, allowing the test to verify stuff while Gradle is blocked waiting for the request to complete (for example, that the console displays the right progress information).

  1. … 14 more files in changeset.
Replace line erasures before even parsing, as they can vary based on how large the progress bar is. (#2118)

  1. … 1 more file in changeset.
Trim whitespace at the end of task groups (#2113)

  1. … 1 more file in changeset.
Add some basic functional tests asserting task output grouping - PART II (#2095)

* Add some basic functional tests asserting task output grouping

* First round of review feedback

* Split parsing logic into testable fixture

* Fix problem when progress bar is updated between tasks

* Convert ExecOutput test to use test fixture

* Make test fixtures more user friendly

* Fix quickCheck

* Fix flaky tests

* Another attempt at ignoring progress bar

* Replace control characters in task output

  1. … 8 more files in changeset.
Periodically forward output of long running task

  1. … 8 more files in changeset.
Replace control characters in task output

  1. … 1 more file in changeset.
Another attempt at ignoring progress bar

  1. … 1 more file in changeset.
Fix quickCheck

  1. … 5 more files in changeset.
Fix problem when progress bar is updated between tasks

  1. … 1 more file in changeset.
Split parsing logic into testable fixture

  1. … 3 more files in changeset.
Changed `BlockingHttpServer` to allow test to specify the content to return in the response for an expected GET request.

  1. … 2 more files in changeset.
Changed `BlockingHttpServer` to allow unblocking of a specific blocked request, as an alternative to unblocking a number of blocked requests.

  1. … 4 more files in changeset.
Fixed some flakiness in `BlockingHttpServer` unit test, added some handling for requests received after test has completed but server is still stopping, added some logging.

  1. … 3 more files in changeset.
Some tweaks to error handling for `BlockingHttpServer`.

  1. … 2 more files in changeset.
Changed `BlockingHttpServer` fixture to use a monotonic clock instead of wall clock to calculate whether a timeout has occurred. Also calculate the timeout relative to when the most recently received event occurred, rather than when the first event occurred, to better deal with very slow machines. Added some more trace logging.

  1. … 4 more files in changeset.
Some changes to `BlockingHttpServer`: fix `release()` to work when fewer than the expected max concurrent requests are still expected, moved timeout from parameter of `waitForAllPendingCalls()` to constructor parameter, added some test coverage.

  1. … 7 more files in changeset.
Reconstruct also exception causes from test error output

This is required for retry rules to match correctly.

  1. … 1 more file in changeset.
Review and improve tests that require exact ordering of tasks

    • -0
    • +259
    ./gradle/integtests/fixtures/executer/TaskOrderSpecsTest.groovy
  1. … 23 more files in changeset.
Parse exception type and message from error out in execution result

This information is needed to trigger retry rules that check the

cause of an UnexpectedBuildFailure exception.

  1. … 4 more files in changeset.
Fix test for Windows