Skip to content

Commit

Permalink
Minor cleanup of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hmusum committed Oct 8, 2024
1 parent 17ce1e1 commit adc6651
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,20 @@
import java.nio.file.Files;
import java.time.Duration;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;

import static com.yahoo.vespa.config.server.session.Session.Status.PREPARE;
import static com.yahoo.vespa.config.server.session.Session.Status.UNKNOWN;
import static com.yahoo.vespa.flags.PermanentFlags.CONFIG_SERVER_SESSION_LIFETIME;
import static com.yahoo.yolean.Exceptions.uncheck;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

// Note: Some test depend on sessionLifetime being 60 (set in config server config in MaintainerTester)
public class SessionsMaintainerTest {

private static final File testApp = new File("src/test/apps/hosted");
private static final ApplicationId applicationId = ApplicationId.from("deploytester", "myApp", "default");
private static final long sessionLifeTime = 60;

private final ManualClock clock = new ManualClock();
private final InMemoryFlagSource flagSource = new InMemoryFlagSource();
Expand Down

0 comments on commit adc6651

Please sign in to comment.