File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/test/java/com/rabbitmq/client/test Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 40
40
import java .util .concurrent .TimeoutException ;
41
41
import org .junit .jupiter .api .BeforeEach ;
42
42
import org .junit .jupiter .api .Test ;
43
- import org .junit .jupiter .api .condition .EnabledIfSystemProperty ;
44
43
import org .junit .jupiter .api .condition .EnabledOnOs ;
45
44
import org .junit .jupiter .api .condition .OS ;
46
45
@@ -60,15 +59,13 @@ void publishConsumeDefaults() throws Exception {
60
59
}
61
60
62
61
@ Test
63
- @ EnabledOnOs (OS .MAC )
64
- @ EnabledIfSystemProperty (named = "os.arch" , matches = "aarch64" )
62
+ @ EnabledOnOs (value = OS .MAC , architectures = "aarch64" )
65
63
void kqueue () throws Exception {
66
64
nativeIoTest (KQueueIoHandler .newFactory (), KQueueSocketChannel .class );
67
65
}
68
66
69
67
@ Test
70
- @ EnabledOnOs (OS .LINUX )
71
- @ EnabledIfSystemProperty (named = "os.arch" , matches = "amd64" )
68
+ @ EnabledOnOs (value = OS .LINUX , architectures = "amd64" )
72
69
void epoll () throws Exception {
73
70
nativeIoTest (EpollIoHandler .newFactory (), EpollSocketChannel .class );
74
71
}
You can’t perform that action at this time.
0 commit comments