diff --git a/h2o-algos/src/test/java/hex/glm/GLMTest.java b/h2o-algos/src/test/java/hex/glm/GLMTest.java
index <HASH>..<HASH> 100644
--- a/h2o-algos/src/test/java/hex/glm/GLMTest.java
+++ b/h2o-algos/src/test/java/hex/glm/GLMTest.java
@@ -201,7 +201,7 @@ public class GLMTest  extends TestUtil {
     Frame fr = ParseDataset.parse(parsed, raw);
     GLM job = null;
     try {
-      GLMParameters params = new GLMParameters(Family.gamma);
+      GLMParameters params = new GLMParameters(Family.poisson);
       // params._response = 1;
       params._response_column = fr._names[1];
       params._train = parsed;
Fixed broken glm test, testAllNAs uses data with 0 in the response, can not use gamma family.