File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
affinity/src/test/java/net/openhft/affinity Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 2626import java .io .IOException ;
2727import java .util .ArrayList ;
2828import java .util .List ;
29+ import java .util .Properties ;
2930
3031import static org .junit .Assert .assertEquals ;
3132import static org .junit .Assert .assertNotSame ;
3738public class AffinityLockTest {
3839 private static final Logger logger = LoggerFactory .getLogger (AffinityLockTest .class );
3940
41+ @ Test
42+ public void shouldDumpSystemProperties () throws Exception {
43+ final Properties systemProperties = System .getProperties ();
44+ for (final String propertyName : systemProperties .stringPropertyNames ()) {
45+ System .out .printf ("%s = %s%n" , propertyName , systemProperties .getProperty (propertyName ));
46+ }
47+ }
48+
4049 @ Test
4150 public void dumpLocksI7 () throws IOException {
4251 LockInventory lockInventory = new LockInventory (VanillaCpuLayout .fromCpuInfo ("i7.cpuinfo" ));
You can’t perform that action at this time.
0 commit comments