@@ -0,0 +1,1394 @@
+package peergos.server.tests;%0A%0Aimport org.junit.*;%0Aimport peergos.server.*;%0Aimport peergos.server.storage.*;%0Aimport peergos.server.util.*;%0A%0Aimport java.nio.file.*;%0Aimport java.util.*;%0A%0Apublic class S3IpfsPluginTest %7B%0A%0A    @Test%0A    public void loadPlugin() throws Exception %7B%0A%0A        Path peergosDir = Files.createTempDirectory(%22peergos%22);%0A        Random r = new Random();%0A        int ipfsApiPort = 9000 + r.nextInt(50_000);%0A        int ipfsGatewayPort = 9000 + r.nextInt(50_000);%0A        int ipfsSwarmPort = 9000 + r.nextInt(50_000);%0A        Args args = Args.parse(new String%5B%5D%7B%0A                %22-ipfs-api-address%22, %22/ip4/127.0.0.1/tcp/%22 + ipfsApiPort,%0A                %22-ipfs-gateway-address%22, %22/ip4/127.0.0.1/tcp/%22 + ipfsGatewayPort,%0A                %22-ipfs-swarm-port%22, Integer.toString(ipfsSwarmPort),%0A                %22-logToConsole%22, %22true%22,%0A                Main.PEERGOS_PATH, peergosDir.toString(),%0A                %22-proxy-target%22, %22/ip4/127.0.0.1/tcp/80%22,%0A                %22-ipfs-plugins%22, %22go-ds-s3%22,%0A                %22-s3.bucket%22, %22atest%22,%0A                %22-s3.accessKey%22, %22fake-key%22,%0A                %22-s3.secretKey%22, %22fake-key%22,%0A                %22-s3.region.endpoint%22, %22us-east-1.linodeobjects.com%22,%0A                %22-s3.region%22, %22us-east-1%22,%0A        %7D);%0A        Main.ENSURE_IPFS_INSTALLED.main(args);%0A        IpfsWrapper ipfs = IpfsWrapper.build(args);%0A        ipfs.configure();%0A    %7D%0A%7D

Add test for ipfs S3 plugin loading