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

blachniet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


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

commit 413ab671864e399366e2b5e32bf464d1c0994ac0
Author: Brian Lachniet <[email protected]>
AuthorDate: Sun Jun 23 07:47:24 2019 -0400

    AVRO-2442: Set LANG variable for C# tests
---
 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