@@ -112,6 +112,9 @@ fn multiple_shared() {
112112 a_b_nested ( CacheLockMode :: Shared , CacheLockMode :: Shared ) ;
113113}
114114
115+ #[ cfg_attr( target_os = "aix" ,
116+ ignore = "Test fails on AIX due to unsupported flock behaviour"
117+ ) ]
115118#[ cargo_test]
116119fn multiple_shared_separate ( ) {
117120 // Test that two independent shared locks are safe to acquire at the same time.
@@ -213,6 +216,9 @@ fn readonly() {
213216 }
214217}
215218
219+ #[ cfg_attr( target_os = "aix" ,
220+ ignore = "Test fails on AIX due to unsupported flock behaviour"
221+ ) ]
216222#[ cargo_test]
217223fn download_then_shared_separate ( ) {
218224 a_then_b_separate_not_blocked (
@@ -222,6 +228,9 @@ fn download_then_shared_separate() {
222228 ) ;
223229}
224230
231+ #[ cfg_attr( target_os = "aix" ,
232+ ignore = "Test fails on AIX due to unsupported flock behaviour"
233+ ) ]
225234#[ cargo_test]
226235fn shared_then_download_separate ( ) {
227236 a_then_b_separate_not_blocked (
@@ -231,6 +240,9 @@ fn shared_then_download_separate() {
231240 ) ;
232241}
233242
243+ #[ cfg_attr( target_os = "aix" ,
244+ ignore = "Test fails on AIX due to unsupported flock behaviour"
245+ ) ]
234246#[ cargo_test]
235247fn multiple_download_separate ( ) {
236248 // Test that with two independent download locks, the second blocks until
@@ -241,6 +253,9 @@ fn multiple_download_separate() {
241253 ) ;
242254}
243255
256+ #[ cfg_attr( target_os = "aix" ,
257+ ignore = "Test fails on AIX due to unsupported flock behaviour"
258+ ) ]
244259#[ cargo_test]
245260fn multiple_mutate_separate ( ) {
246261 // Test that with two independent mutate locks, the second blocks until
@@ -251,11 +266,17 @@ fn multiple_mutate_separate() {
251266 ) ;
252267}
253268
269+ #[ cfg_attr( target_os = "aix" ,
270+ ignore = "Test fails on AIX due to unsupported flock behaviour"
271+ ) ]
254272#[ cargo_test]
255273fn shared_then_mutate_separate ( ) {
256274 a_then_b_separate_blocked ( CacheLockMode :: Shared , CacheLockMode :: MutateExclusive ) ;
257275}
258276
277+ #[ cfg_attr( target_os = "aix" ,
278+ ignore = "Test fails on AIX due to unsupported flock behaviour"
279+ ) ]
259280#[ cargo_test]
260281fn download_then_mutate_separate ( ) {
261282 a_then_b_separate_blocked (
@@ -264,6 +285,9 @@ fn download_then_mutate_separate() {
264285 ) ;
265286}
266287
288+ #[ cfg_attr( target_os = "aix" ,
289+ ignore = "Test fails on AIX due to unsupported flock behaviour"
290+ ) ]
267291#[ cargo_test]
268292fn mutate_then_download_separate ( ) {
269293 a_then_b_separate_blocked (
@@ -272,6 +296,9 @@ fn mutate_then_download_separate() {
272296 ) ;
273297}
274298
299+ #[ cfg_attr( target_os = "aix" ,
300+ ignore = "Test fails on AIX due to unsupported flock behaviour"
301+ ) ]
275302#[ cargo_test]
276303fn mutate_then_shared_separate ( ) {
277304 a_then_b_separate_blocked ( CacheLockMode :: MutateExclusive , CacheLockMode :: Shared ) ;
0 commit comments