File tree Expand file tree Collapse file tree
src/test/java/com/taosdata/jdbc/ws Expand file tree Collapse file tree Original file line number Diff line number Diff line change 266266 <version >0.5.0</version >
267267 <extensions >true</extensions >
268268 <configuration >
269- <publishingServerId >ossrh-td </publishingServerId >
269+ <publishingServerId >central </publishingServerId >
270270 <autoPublish >true</autoPublish >
271271 <waitUntil >published</waitUntil >
272272 </configuration >
Original file line number Diff line number Diff line change 88import com .taosdata .jdbc .tmq .TMQConstants ;
99import com .taosdata .jdbc .tmq .TaosConsumer ;
1010import com .taosdata .jdbc .utils .SpecifyAddress ;
11+ import com .taosdata .jdbc .utils .StringUtils ;
1112import com .taosdata .jdbc .utils .TestEnvUtil ;
1213import com .taosdata .jdbc .utils .TestUtils ;
1314import org .junit .AfterClass ;
@@ -93,7 +94,9 @@ private String createToken(String tokenName) throws Exception {
9394 TestUtils .waitTransactionDone (conn );
9495 rs .next ();
9596 String token = rs .getString (1 );
96- System .out .println ("created token = " + token );
97+ if (StringUtils .isEmpty (token )){
98+ Assert .fail ("Failed to create token" );
99+ }
97100 return token ;
98101 }
99102 }
You can’t perform that action at this time.
0 commit comments