Run most acceptance tests in-memory
This allows the tests to run faster, with lower system overheads. The new @UseLocalDisk annotation must be added to any test method that wants the classical init and daemon testing strategy. A new sshd.requestLog configuration variable is introduced to permit tests to disable the SSH command log. Timing for `buck test --all` on my Linux desktop: before 3m37.129s after 2m18.789s Change-Id: I18c07ef2d913f6abbb3925b3e7d3df5d28668497
This commit is contained in:
@@ -38,7 +38,6 @@ import com.google.inject.Inject;
|
||||
import com.google.inject.internal.UniqueAnnotations;
|
||||
import com.google.inject.servlet.RequestScoped;
|
||||
|
||||
import org.apache.sshd.common.KeyPairProvider;
|
||||
import org.apache.sshd.server.CommandFactory;
|
||||
import org.apache.sshd.server.PublickeyAuthenticator;
|
||||
import org.apache.sshd.server.auth.gss.GSSAuthenticator;
|
||||
@@ -85,7 +84,6 @@ public class SshModule extends FactoryModule {
|
||||
|
||||
bind(GSSAuthenticator.class).to(GerritGSSAuthenticator.class);
|
||||
bind(PublickeyAuthenticator.class).to(DatabasePubKeyAuth.class);
|
||||
bind(KeyPairProvider.class).toProvider(HostKeyProvider.class).in(SINGLETON);
|
||||
|
||||
install(new DefaultCommandModule());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user