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

fokko pushed a commit to branch branch-1.9
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/branch-1.9 by this push:
     new fed73ac  AVRO-2442: Set LANG variable for C# tests (#571)
fed73ac is described below

commit fed73ac9c027f33a222748d1d994bf712f240bde
Author: Brian Lachniet <[email protected]>
AuthorDate: Fri Jun 28 07:59:23 2019 -0400

    AVRO-2442: Set LANG variable for C# tests (#571)
---
 lang/csharp/build.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lang/csharp/build.sh b/lang/csharp/build.sh
index 862b203..7d06041 100755
--- a/lang/csharp/build.sh
+++ b/lang/csharp/build.sh
@@ -28,7 +28,9 @@ case "$1" in
   test)
     dotnet build --configuration Release --framework netcoreapp2.0 
./src/apache/codegen/Avro.codegen.csproj
     dotnet build --configuration Release --framework netstandard2.0 
./src/apache/msbuild/Avro.msbuild.csproj
-    dotnet test --configuration Release --framework netcoreapp2.0 
./src/apache/test/Avro.test.csproj
+
+    # AVRO-2442: Explictly set LANG to work around ICU bug in `dotnet test`
+    LANG=en_US.UTF-8 dotnet test --configuration Release --framework 
netcoreapp2.0 ./src/apache/test/Avro.test.csproj
     ;;
 
   perf)

Reply via email to