directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dran...@apache.org
Subject directory-kerberos git commit: Fixed a testing failure related to assertj
Date Sun, 01 Feb 2015 01:24:57 GMT
Repository: directory-kerberos
Updated Branches:
  refs/heads/master 7c8dc370e -> 66a3df64e


Fixed a testing failure related to assertj


Project: http://git-wip-us.apache.org/repos/asf/directory-kerberos/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerberos/commit/66a3df64
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerberos/tree/66a3df64
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerberos/diff/66a3df64

Branch: refs/heads/master
Commit: 66a3df64e4987a75a36f447705e2e19c1ffc85dd
Parents: 7c8dc37
Author: Drankye <drankye@gmail.com>
Authored: Sun Feb 1 09:24:42 2015 +0800
Committer: Drankye <drankye@gmail.com>
Committed: Sun Feb 1 09:24:42 2015 +0800

----------------------------------------------------------------------
 .../org/apache/kerby/kerberos/kerb/server/TestKdcConfigLoad.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerberos/blob/66a3df64/kerby-kerb/kerb-server/src/test/java/org/apache/kerby/kerberos/kerb/server/TestKdcConfigLoad.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-server/src/test/java/org/apache/kerby/kerberos/kerb/server/TestKdcConfigLoad.java
b/kerby-kerb/kerb-server/src/test/java/org/apache/kerby/kerberos/kerb/server/TestKdcConfigLoad.java
index 7f00a3a..643b539 100644
--- a/kerby-kerb/kerb-server/src/test/java/org/apache/kerby/kerberos/kerb/server/TestKdcConfigLoad.java
+++ b/kerby-kerb/kerb-server/src/test/java/org/apache/kerby/kerberos/kerb/server/TestKdcConfigLoad.java
@@ -44,8 +44,8 @@ public class TestKdcConfigLoad {
         assertThat(krbConfig.getKdcLoggingLocation()).isEqualTo("FILE:/var/log/krb5kdc.log");
         assertThat(krbConfig.getAdminLoggingLocation()).isEqualTo("FILE:/var/log/kadmind.log");
 
-        assertThat(krbConfig.getKdcUdpPort()).isEqualTo(88);
-        assertThat(krbConfig.getKdcTcpPort()).isEqualTo(8014);
+        assertThat(krbConfig.getKdcUdpPort()).isEqualTo((short)88);
+        assertThat(krbConfig.getKdcTcpPort()).isEqualTo((short)8014);
         assertThat(krbConfig.isRestrictAnonymousToTgt()).isTrue();
         assertThat(krbConfig.getKdcMaxDgramReplySize()).isEqualTo(4096);
 


Mime
View raw message