Skip to content

Instantly share code, notes, and snippets.

@Test
public void testCommit() throws Exception {
// Start the repository using the JBoss Transactions transaction manager ...
InputStream config = getClass().getClassLoader().getResourceAsStream("config/repo-config-inmemory-atomikos.json");
assertThat(config, is(notNullValue()));
startRepositoryWithConfiguration(config);
// STEP 1: create and checkin parent nodes
Thread t1 = new Thread() {
@Test
public void testCommit() throws Exception {
// Start the repository using the JBoss Transactions transaction manager ...
InputStream config = getClass().getClassLoader().getResourceAsStream("config/repo-config-inmemory-jbosstxn.json");
assertThat(config, is(notNullValue()));
startRepositoryWithConfiguration(config);
// STEP 1: create and checkin parent nodes
Thread t1 = new Thread() {
101,108,119,120,123,126,131,133,136,137,138,141,142,143,144,145,147,148,149,150,151,152,153,154,155,158,159,160,164,165,167,169,170,173,174,175,177,179,184,185,186,187,188,190,191,195,196,197,200,202,203,208,209,210,212,214,215,216,218,219,220,221,222,225,226,229,230,233,234,235,236,241,242,245,246,247,248,249,250,251,252,256,257,259,260,261,269,284,290,294,296,298,299,301,307,317,389,390,393,394,395,396,397,398,401,402,403,406,413,414,416,417,419,420,421,426,433,434,436,438,439,441,444,446,447,448,449,450,451,457,464,478,490,491,527,543,545,547,548,549,550,551,552,553,554,557,558,559,561,563,565,567,568,570,571,572,573,574,575,576,577,579,580,581,582,584,585,586,590,592,593,594,595,597,598,601,602,603,604,605,606,608,609,610,612,613,614,615,616,619,622,624,625,627,628,631,635,637,640,642,644,648,650,652,654,655,658,659,660,661,662,663,664,665,666,667,668,669,670,672,674,675,676,678,679,681,682,687,688,690,692,694,695,696,697,698,699,703,705,707,708,709,710,711,713,714,717,718,719,720,721,722,742,795,813,814,
101,108,119,120,123,126,131,133,136,137,138,141,142,143,144,145,147,149,150,151,152,154,159,160,169,173,174,179,184,187,195,208,209,214,215,216,220,225,229,235,236,249,256,259,269,284,290,294,298,301,389,390,393,394,395,396,397,398,401,403,406,413,414,416,417,419,420,421,426,433,434,436,438,439,441,444,446,447,448,449,450,451,457,464,478,527,543,545,547,548,549,550,551,552,553,554,557,558,559,561,563,565,567,568,570,571,572,573,574,575,576,577,579,580,581,582,584,585,586,590,592,593,594,595,597,598,601,602,603,604,605,606,608,609,610,612,613,614,615,616,619,622,624,625,627,628,631,635,637,640,642,644,648,650,652,654,655,658,659,660,661,662,663,664,665,666,667,668,669,670,672,674,675,676,678,679,681,682,687,688,690,692,694,695,696,697,698,699,703,705,707,708,709,710,711,795,847,865,868,869,870,871,872,883,885,888,889,891,893,894,895,899,904,905,906,907,912,914,944,954,965,968,972,977,1044,1046,1054,1066,1086,1089,1106,1266,1267,1286,1308,1311,1312,1313,1314,1315,1316,1317,1319,1320,1321,1331,1333,1351,1371,137
148
390
449
451
580
584
593
628
635
899
101
108
119
120
123
126
131
133
136
137
101
108
119
120
123
126
131
133
136
137
101
103
105
106
107
108
109
112
113
114
115
152
252
271
273
275
285
301
354
366
112
115
116
119
120
126
127
134
135
137