File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed
testing/trino-product-tests-launcher
src/main/java/io/trino/tests/product/launcher/env Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 2323 <artifactId >jackson-annotations</artifactId >
2424 </dependency >
2525
26- <dependency >
27- <groupId >com.fasterxml.jackson.core</groupId >
28- <artifactId >jackson-core</artifactId >
29- </dependency >
30-
31- <dependency >
32- <groupId >com.fasterxml.jackson.core</groupId >
33- <artifactId >jackson-databind</artifactId >
34- </dependency >
35-
3626 <dependency >
3727 <groupId >com.fasterxml.jackson.dataformat</groupId >
3828 <artifactId >jackson-dataformat-yaml</artifactId >
Original file line number Diff line number Diff line change 1414package io .trino .tests .product .launcher .env ;
1515
1616import com .fasterxml .jackson .annotation .JsonProperty ;
17- import com .fasterxml .jackson .databind .ObjectMapper ;
18- import com .fasterxml .jackson .dataformat .yaml .YAMLFactory ;
17+ import com .fasterxml .jackson .dataformat .yaml .YAMLMapper ;
1918import com .github .dockerjava .api .command .CreateContainerCmd ;
2019import com .github .dockerjava .api .command .InspectContainerResponse ;
2120import com .github .dockerjava .api .model .Bind ;
@@ -692,11 +691,11 @@ private void addConfiguredFeaturesConfig()
692691 DockerContainer testContainer = containers .get (TESTS );
693692 // write a custom tempto config with list of connectors the environment declares to have configured
694693 // since it's needed in TestConfiguredFeatures
695- ObjectMapper objectMapper = new ObjectMapper ( new YAMLFactory () );
694+ YAMLMapper yamlMapper = new YAMLMapper ( );
696695 File tempFile ;
697696 try {
698697 tempFile = File .createTempFile ("tempto-configured-features-" , ".yaml" );
699- objectMapper .writeValue (tempFile ,
698+ yamlMapper .writeValue (tempFile ,
700699 Map .of ("databases" ,
701700 Map .of ("trino" ,
702701 Map .of (
You can’t perform that action at this time.
0 commit comments