We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3cfe865 + 77bf160 commit 8cc50e2Copy full SHA for 8cc50e2
src/test/java/edu/harvard/iq/dataverse/util/cache/CacheFactoryBeanTest.java
@@ -121,6 +121,7 @@ public static void cleanup() {
121
Hazelcast.shutdownAll();
122
}
123
@Test
124
+ @ResourceLock(value = "cache")
125
public void testGuestUserGettingRateLimited() {
126
Command action = new ListDataverseContentCommand(null,null);
127
boolean rateLimited = false;
@@ -137,6 +138,7 @@ public void testGuestUserGettingRateLimited() {
137
138
139
140
141
142
public void testAdminUserExemptFromGettingRateLimited() {
143
Command action = new ListExplicitGroupsCommand(null,null);
144
authUser.setSuperuser(true);
0 commit comments