HADOOP-10645. TestKMS fails because race condition writing acl files. (tucu)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1598773 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f7f651fc56
commit
05d8586bc0
@ -334,6 +334,8 @@ Trunk (Unreleased)
|
|||||||
HADOOP-10625. Trim configuration names when putting/getting them
|
HADOOP-10625. Trim configuration names when putting/getting them
|
||||||
to properties. (Wangda Tan via xgong)
|
to properties. (Wangda Tan via xgong)
|
||||||
|
|
||||||
|
HADOOP-10645. TestKMS fails because race condition writing acl files. (tucu)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-7761. Improve the performance of raw comparisons. (todd)
|
HADOOP-7761. Improve the performance of raw comparisons. (todd)
|
||||||
|
@ -717,6 +717,9 @@ public class TestKMS {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//stop the reloader, to avoid running while we are writing the new file
|
||||||
|
KMSWebApp.getACLs().stopReloader();
|
||||||
|
|
||||||
// test ACL reloading
|
// test ACL reloading
|
||||||
Thread.sleep(10); // to ensure the ACLs file modifiedTime is newer
|
Thread.sleep(10); // to ensure the ACLs file modifiedTime is newer
|
||||||
conf.set(KMSACLs.Type.CREATE.getConfigKey(), "foo");
|
conf.set(KMSACLs.Type.CREATE.getConfigKey(), "foo");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user