@@ -112,6 +112,10 @@ fn multiple_shared() {
112112 a_b_nested ( CacheLockMode :: Shared , CacheLockMode :: Shared ) ;
113113}
114114
115+ #[ cfg_attr(
116+ target_os = "aix" ,
117+ ignore = "Test fails on AIX due to unsupported flock behaviour"
118+ ) ]
115119#[ cargo_test]
116120fn multiple_shared_separate ( ) {
117121 // Test that two independent shared locks are safe to acquire at the same time.
@@ -213,6 +217,10 @@ fn readonly() {
213217 }
214218}
215219
220+ #[ cfg_attr(
221+ target_os = "aix" ,
222+ ignore = "Test fails on AIX due to unsupported flock behaviour"
223+ ) ]
216224#[ cargo_test]
217225fn download_then_shared_separate ( ) {
218226 a_then_b_separate_not_blocked (
@@ -222,6 +230,10 @@ fn download_then_shared_separate() {
222230 ) ;
223231}
224232
233+ #[ cfg_attr(
234+ target_os = "aix" ,
235+ ignore = "Test fails on AIX due to unsupported flock behaviour"
236+ ) ]
225237#[ cargo_test]
226238fn shared_then_download_separate ( ) {
227239 a_then_b_separate_not_blocked (
@@ -231,6 +243,10 @@ fn shared_then_download_separate() {
231243 ) ;
232244}
233245
246+ #[ cfg_attr(
247+ target_os = "aix" ,
248+ ignore = "Test fails on AIX due to unsupported flock behaviour"
249+ ) ]
234250#[ cargo_test]
235251fn multiple_download_separate ( ) {
236252 // Test that with two independent download locks, the second blocks until
@@ -241,6 +257,10 @@ fn multiple_download_separate() {
241257 ) ;
242258}
243259
260+ #[ cfg_attr(
261+ target_os = "aix" ,
262+ ignore = "Test fails on AIX due to unsupported flock behaviour"
263+ ) ]
244264#[ cargo_test]
245265fn multiple_mutate_separate ( ) {
246266 // Test that with two independent mutate locks, the second blocks until
@@ -251,11 +271,19 @@ fn multiple_mutate_separate() {
251271 ) ;
252272}
253273
274+ #[ cfg_attr(
275+ target_os = "aix" ,
276+ ignore = "Test fails on AIX due to unsupported flock behaviour"
277+ ) ]
254278#[ cargo_test]
255279fn shared_then_mutate_separate ( ) {
256280 a_then_b_separate_blocked ( CacheLockMode :: Shared , CacheLockMode :: MutateExclusive ) ;
257281}
258282
283+ #[ cfg_attr(
284+ target_os = "aix" ,
285+ ignore = "Test fails on AIX due to unsupported flock behaviour"
286+ ) ]
259287#[ cargo_test]
260288fn download_then_mutate_separate ( ) {
261289 a_then_b_separate_blocked (
@@ -264,6 +292,10 @@ fn download_then_mutate_separate() {
264292 ) ;
265293}
266294
295+ #[ cfg_attr(
296+ target_os = "aix" ,
297+ ignore = "Test fails on AIX due to unsupported flock behaviour"
298+ ) ]
267299#[ cargo_test]
268300fn mutate_then_download_separate ( ) {
269301 a_then_b_separate_blocked (
@@ -272,6 +304,10 @@ fn mutate_then_download_separate() {
272304 ) ;
273305}
274306
307+ #[ cfg_attr(
308+ target_os = "aix" ,
309+ ignore = "Test fails on AIX due to unsupported flock behaviour"
310+ ) ]
275311#[ cargo_test]
276312fn mutate_then_shared_separate ( ) {
277313 a_then_b_separate_blocked ( CacheLockMode :: MutateExclusive , CacheLockMode :: Shared ) ;
0 commit comments