This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/3.7-dev by this push:
     new 1671d38f9f CTR update dotnet docker test set up to avoid masking build 
errors
1671d38f9f is described below

commit 1671d38f9f9ca1591f323530f8cd7888fa8becff
Author: Yang Xia <[email protected]>
AuthorDate: Thu Mar 5 17:44:49 2026 -0800

    CTR update dotnet docker test set up to avoid masking build errors
---
 gremlin-dotnet/docker-compose.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gremlin-dotnet/docker-compose.yml 
b/gremlin-dotnet/docker-compose.yml
index 3a34ed27bd..945fe10f13 100644
--- a/gremlin-dotnet/docker-compose.yml
+++ b/gremlin-dotnet/docker-compose.yml
@@ -58,8 +58,11 @@ services:
       - VERTEX_LABEL=dotnet-example
     working_dir: /gremlin-dotnet
     command: >
-      bash -c "dotnet tool update -g dotnet-trx; dotnet test ./Gremlin.Net.sln 
-c Release --logger trx; /root/.dotnet/tools/trx;
+      bash -c "find . -path '*/TestResults/*.trx' -delete 2>/dev/null || true;
+      dotnet tool update -g dotnet-trx; dotnet test ./Gremlin.Net.sln -c 
Release --logger trx;
       EXIT_CODE=$$?;
+      /root/.dotnet/tools/trx || true;
+      if [ $$EXIT_CODE -ne 0 ]; then echo '❌ dotnet test FAILED (exit code 
'$$EXIT_CODE') — build or test errors above'; fi;
       echo 'Running examples...';
       dotnet run --project Examples/BasicGremlin/BasicGremlin.csproj;
       dotnet run --project Examples/Connections/Connections.csproj;

Reply via email to