use of org.testng.asserts.Assertion in project jetcd by coreos.
the class KVTest method setUp.
@BeforeTest
public void setUp() throws Exception {
test = new Assertion();
Client client = ClientBuilder.newBuilder().endpoints("http://localhost:2379").build();
kvClient = client.getKVClient();
}
use of org.testng.asserts.Assertion in project jetcd by coreos.
the class AuthClientTest method setupEnv.
/**
* Build etcd client to create role, permission
*/
@BeforeTest
public void setupEnv() throws AuthFailedException, ConnectException {
this.test = new Assertion();
this.client = ClientBuilder.newBuilder().endpoints("localhost:2379").build();
this.kvClient = this.client.getKVClient();
this.authClient = this.client.getAuthClient();
}
use of org.testng.asserts.Assertion in project jetcd by coreos.
the class LeaseTest method setUp.
@BeforeTest
public void setUp() throws Exception {
test = new Assertion();
client = ClientBuilder.newBuilder().endpoints(TestConstants.endpoints).build();
kvClient = client.getKVClient();
leaseClient = client.getLeaseClient();
}
Aggregations