You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! The output of "docker compose up" and "docker compose down" appears on the console when running tasks. As an example, this is what you see:
$ ./gradlew SampleApp:test
> Task :SampleApp:composeUp
Will use localhost as host of db
Will use localhost as host of receiver
Will use localhost as host of sender
Will use localhost as host of worker
Probing TCP socket on localhost:5439 of 'db-1'
Waiting for TCP socket on localhost:5439 of 'db-1' (TCP connection on localhost:5439 of 'db-1' was disconnected right after connected)
Will use localhost as host of db
Waiting for TCP socket on localhost:5439 of 'db-1' (TCP connection on localhost:5439 of 'db-1' was disconnected right after connected)
Will use localhost as host of db
TCP socket on localhost:5439 of 'db-1' is ready
Probing TCP socket on localhost:20080 of 'receiver-1'
Waiting for TCP socket on localhost:20080 of 'receiver-1' (TCP connection on localhost:20080 of 'receiver-1' was disconnected right after connected)
Will use localhost as host of receiver
TCP socket on localhost:20080 of 'receiver-1' is ready
+------------+----------------+-----------------+
| Name | Container Port | Mapping |
+------------+----------------+-----------------+
| db-1 | 5432 | localhost:5439 |
+------------+----------------+-----------------+
| receiver-1 | 20080 | localhost:20080 |
+------------+----------------+-----------------+
> Task :SampleApp:composeDown
Container 28619d8325560bc41517cf49d1163b35_dashboard-worker-1 Stopping
Container 28619d8325560bc41517cf49d1163b35_dashboard-sender-1 Stopping
Container 28619d8325560bc41517cf49d1163b35_dashboard-worker-1 Stopped
Container 28619d8325560bc41517cf49d1163b35_dashboard-sender-1 Stopped
Container 28619d8325560bc41517cf49d1163b35_dashboard-receiver-1 Stopping
Container 28619d8325560bc41517cf49d1163b35_dashboard-receiver-1 Stopped
Container 28619d8325560bc41517cf49d1163b35_dashboard-db-1 Stopping
Container 28619d8325560bc41517cf49d1163b35_dashboard-db-1 Stopped
However, the output should only appear if --info is passed to Gradle, should it not? Otherwise there should be no output at all if the task is successful.
The text was updated successfully, but these errors were encountered:
Sure, the behaviour has been there from the beginning. It just doesn't seem very Gradle-like. Before the tests were dockerized, the output on the console while running the tests was something like this:
Hi there! The output of "docker compose up" and "docker compose down" appears on the console when running tasks. As an example, this is what you see:
However, the output should only appear if
--info
is passed to Gradle, should it not? Otherwise there should be no output at all if the task is successful.The text was updated successfully, but these errors were encountered: