refactor: remove archive volume from history compose
This commit is contained in:
@@ -48,6 +48,19 @@ class PortainerComposeResourceLimitsTest {
|
||||
.doesNotContain("\n TDENGINE_DATABASE:");
|
||||
}
|
||||
|
||||
@Test
|
||||
void vehicleHistoryDoesNotExposeUnusedArchiveSinkSettings() throws IOException {
|
||||
String compose = Files.readString(repositoryRoot().resolve("deploy/portainer/docker-compose.yml"));
|
||||
String historyService = serviceBlock(compose, "vehicle-history-app");
|
||||
|
||||
assertThat(historyService)
|
||||
.doesNotContain("SINK_ARCHIVE_ENABLED")
|
||||
.doesNotContain("SINK_ARCHIVE_PATH")
|
||||
.doesNotContain("/archive");
|
||||
assertThat(compose)
|
||||
.doesNotContain("vehicle-history-archive:");
|
||||
}
|
||||
|
||||
@Test
|
||||
void vehicleAnalyticsComposeOnlyExposesStatConsumerEnvironment() throws IOException {
|
||||
String compose = Files.readString(repositoryRoot().resolve("deploy/portainer/docker-compose.yml"));
|
||||
|
||||
Reference in New Issue
Block a user