[
https://issues.apache.org/jira/browse/FLINK-5160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15702253#comment-15702253
]
ASF GitHub Bot commented on FLINK-5160:
---------------------------------------
GitHub user zentol opened a pull request:
https://github.com/apache/flink/pull/2888
[FLINK-5160] Fix SecurityContextTest#testCreateInsecureHadoopCt on Wi…
This PR resolves in issue in the SecurityUtilsTest class, which tries to
call `getUserName()` on `com.sun.security.auth.module.NTSystem`. However, as
documented
[here](https://docs.oracle.com/javase/7/docs/jre/api/security/jaas/spec/com/sun/security/auth/module/NTSystem.html)
this method does not exist; on Windows it is called `getName()`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zentol/flink 5160_test_hadoop
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2888.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2888
----
commit 199fa7fd3fbe67687bb7408e105ce4cb6332c3e4
Author: zentol <[email protected]>
Date: 2016-11-25T11:51:38Z
[FLINK-5160] Fix SecurityContextTest#testCreateInsecureHadoopCt on Windows
----
> SecurityContextTest#testCreateInsecureHadoopCtx fails on windows
> ----------------------------------------------------------------
>
> Key: FLINK-5160
> URL: https://issues.apache.org/jira/browse/FLINK-5160
> Project: Flink
> Issue Type: Bug
> Components: Security, Tests
> Affects Versions: 1.1.3
> Environment: Windows 10
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Fix For: 1.2.0
>
>
> The test uses the wrong method to retrieve the current user name when run on
> Windows.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)