File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -137,11 +137,16 @@ func TestMain(m *testing.M) {
137137 }
138138
139139 mounts := []string {
140- wd + "/etc/catalog:/etc/trino/catalog" ,
141140 wd + "/etc/secrets:/etc/trino/secrets" ,
142141 wd + "/etc/jvm.config:/etc/trino/jvm.config" ,
143142 wd + "/etc/node.properties:/etc/trino/node.properties" ,
144143 wd + "/etc/password-authenticator.properties:/etc/trino/password-authenticator.properties" ,
144+ wd + "/etc/catalog/memory.properties:/etc/trino/catalog/memory.properties" ,
145+ wd + "/etc/catalog/tpch.properties:/etc/trino/catalog/tpch.properties" ,
146+ }
147+ version , err := strconv .Atoi (* trinoImageTagFlag )
148+ if err == nil && version >= 458 {
149+ mounts = append (mounts , wd + "/etc/catalog/hive.properties:/etc/trino/catalog/hive.properties" )
145150 }
146151
147152 if spoolingProtocolSupported {
You can’t perform that action at this time.
0 commit comments