Search in sources :

Example 6 with SSHCommandRunner

use of com.redhat.qe.tools.SSHCommandRunner in project rhsm-qe by RedHatQE.

the class MigrationTests method setupProxyRunnersBeforeClass.

@BeforeClass(groups = { "setup" })
public void setupProxyRunnersBeforeClass() throws IOException {
    basicAuthProxyRunner = new SSHCommandRunner(sm_basicauthproxyHostname, sm_basicauthproxySSHUser, sm_sshKeyPrivate, sm_sshkeyPassphrase, null);
    noAuthProxyRunner = new SSHCommandRunner(sm_noauthproxyHostname, sm_noauthproxySSHUser, sm_sshKeyPrivate, sm_sshkeyPassphrase, null);
    if (sm_sshEmergenecyTimeoutMS != null)
        basicAuthProxyRunner.setEmergencyTimeout(Long.valueOf(sm_sshEmergenecyTimeoutMS));
    if (sm_sshEmergenecyTimeoutMS != null)
        noAuthProxyRunner.setEmergencyTimeout(Long.valueOf(sm_sshEmergenecyTimeoutMS));
    if (clienttasks != null)
        ipv4_address = clienttasks.getIPV4Address();
}
Also used : SSHCommandRunner(com.redhat.qe.tools.SSHCommandRunner) BeforeClass(org.testng.annotations.BeforeClass)

Aggregations

SSHCommandRunner (com.redhat.qe.tools.SSHCommandRunner)6 SkipException (org.testng.SkipException)3 Test (org.testng.annotations.Test)3 SubscriptionManagerTasks (rhsm.cli.tasks.SubscriptionManagerTasks)3 TestDefinition (com.github.redhatqe.polarize.metadata.TestDefinition)2 ImplementsNitrateTest (com.redhat.qe.auto.tcms.ImplementsNitrateTest)2 SSHCommandResult (com.redhat.qe.tools.SSHCommandResult)2 File (java.io.File)2 ArrayList (java.util.ArrayList)2 BeforeClass (org.testng.annotations.BeforeClass)2 SubscriptionPool (rhsm.data.SubscriptionPool)2 BufferedWriter (java.io.BufferedWriter)1 FileWriter (java.io.FileWriter)1 Writer (java.io.Writer)1 BeforeSuite (org.testng.annotations.BeforeSuite)1 CandlepinTasks (rhsm.cli.tasks.CandlepinTasks)1 ProductCert (rhsm.data.ProductCert)1