@ -34,6 +34,7 @@ import java.util.Optional;
import com.google.common.collect.Lists ;
import com.google.common.collect.Lists ;
import com.google.common.io.Resources ;
import com.google.common.io.Resources ;
import org.junit.Before ;
import org.junit.Before ;
import org.junit.Ignore ;
import org.junit.Rule ;
import org.junit.Rule ;
import org.junit.Test ;
import org.junit.Test ;
import org.junit.rules.TemporaryFolder ;
import org.junit.rules.TemporaryFolder ;
@ -227,7 +228,8 @@ public class PantheonCommandTest extends CommandTestAbstract {
anyBoolean ( ) ,
anyBoolean ( ) ,
anyInt ( ) ) ;
anyInt ( ) ) ;
verify ( mockSyncConfBuilder ) . syncMode ( ArgumentMatchers . eq ( SyncMode . FAST ) ) ;
// TODO: Re-enable as per NC-1057/NC-1681
// verify(mockSyncConfBuilder).syncMode(ArgumentMatchers.eq(SyncMode.FAST));
assertThat ( commandErrorOutput . toString ( ) ) . isEmpty ( ) ;
assertThat ( commandErrorOutput . toString ( ) ) . isEmpty ( ) ;
@ -257,7 +259,8 @@ public class PantheonCommandTest extends CommandTestAbstract {
verify ( mockControllerBuilder )
verify ( mockControllerBuilder )
. build ( any ( ) , eq ( null ) , any ( ) , eq ( false ) , any ( ) , eq ( false ) , anyInt ( ) ) ;
. build ( any ( ) , eq ( null ) , any ( ) , eq ( false ) , any ( ) , eq ( false ) , anyInt ( ) ) ;
verify ( mockSyncConfBuilder ) . syncMode ( ArgumentMatchers . eq ( SyncMode . FULL ) ) ;
// TODO: Re-enable as per NC-1057/NC-1681
// verify(mockSyncConfBuilder).syncMode(ArgumentMatchers.eq(SyncMode.FULL));
assertThat ( commandErrorOutput . toString ( ) ) . isEmpty ( ) ;
assertThat ( commandErrorOutput . toString ( ) ) . isEmpty ( ) ;
@ -408,6 +411,7 @@ public class PantheonCommandTest extends CommandTestAbstract {
assertThat ( commandErrorOutput . toString ( ) ) . isEmpty ( ) ;
assertThat ( commandErrorOutput . toString ( ) ) . isEmpty ( ) ;
}
}
@Ignore
@Test
@Test
public void syncModeOptionMustBeUsed ( ) {
public void syncModeOptionMustBeUsed ( ) {