@@ -109,7 +109,7 @@ mod integration_tests {
109
109
spin_up_args : Vec :: new ( ) ,
110
110
app_type : SpinAppType :: Redis ,
111
111
} ,
112
- ServicesConfig :: new ( vec ! [ "redis" . into ( ) ] ) ?,
112
+ ServicesConfig :: new ( vec ! [ "redis" ] ) ?,
113
113
move |env| {
114
114
let redis_port = env
115
115
. services_mut ( )
@@ -167,7 +167,7 @@ mod integration_tests {
167
167
spin_up_args : Vec :: new ( ) ,
168
168
app_type : SpinAppType :: Http ,
169
169
} ,
170
- ServicesConfig :: new ( vec ! [ "jaeger" . into ( ) ] ) ?,
170
+ ServicesConfig :: new ( vec ! [ "jaeger" ] ) ?,
171
171
|env| {
172
172
let otel_port = env
173
173
. services_mut ( )
@@ -480,7 +480,7 @@ Caused by:
480
480
spin_up_args : vec ! [ "--runtime-config-file" . into( ) , "runtime_config.toml" . into( ) ] ,
481
481
app_type : SpinAppType :: Http ,
482
482
} ,
483
- ServicesConfig :: new ( vec ! [ "vault" . into ( ) ] ) ?,
483
+ ServicesConfig :: new ( vec ! [ "vault" ] ) ?,
484
484
|env| {
485
485
// Vault can take a few moments to be ready
486
486
std:: thread:: sleep ( std:: time:: Duration :: from_secs ( 2 ) ) ;
@@ -730,7 +730,7 @@ Caused by:
730
730
#[ test]
731
731
#[ cfg( feature = "extern-dependencies-tests" ) ]
732
732
fn registry_works ( ) -> anyhow:: Result < ( ) > {
733
- let services = ServicesConfig :: new ( vec ! [ "registry" . into ( ) ] ) ?;
733
+ let services = ServicesConfig :: new ( vec ! [ "registry" ] ) ?;
734
734
let spin_up_args = |env : & mut test_environment:: TestEnvironment < ( ) > | {
735
735
let registry_url = format ! (
736
736
"localhost:{}/spin-e2e-tests/registry-works/v1" ,
@@ -747,7 +747,7 @@ Caused by:
747
747
] )
748
748
} ;
749
749
let mut env = super :: testcases:: bootstrap_smoke_test (
750
- & services,
750
+ services,
751
751
None ,
752
752
None ,
753
753
& [ ] ,
@@ -786,7 +786,7 @@ Caused by:
786
786
spin_up_args : Vec :: new ( ) ,
787
787
app_type : SpinAppType :: Http ,
788
788
} ,
789
- ServicesConfig :: new ( vec ! [ "http-echo" . into ( ) ] ) ?,
789
+ ServicesConfig :: new ( vec ! [ "http-echo" ] ) ?,
790
790
move |env| {
791
791
let port = env
792
792
. get_port ( 80 ) ?
@@ -810,7 +810,7 @@ Caused by:
810
810
811
811
#[ test]
812
812
fn spin_up_gives_help_on_new_app ( ) -> anyhow:: Result < ( ) > {
813
- let mut env = test_environment:: TestEnvironment :: < ( ) > :: boot ( & ServicesConfig :: none ( ) ) ?;
813
+ let mut env = test_environment:: TestEnvironment :: < ( ) > :: boot ( ServicesConfig :: none ( ) ) ?;
814
814
815
815
// We still don't see full help if there are no components.
816
816
let toml_text = r#"spin_version = "1"
@@ -848,7 +848,7 @@ route = "/..."
848
848
849
849
#[ test]
850
850
fn spin_up_help_build_does_not_build ( ) -> anyhow:: Result < ( ) > {
851
- let mut env = test_environment:: TestEnvironment :: < ( ) > :: boot ( & ServicesConfig :: none ( ) ) ?;
851
+ let mut env = test_environment:: TestEnvironment :: < ( ) > :: boot ( ServicesConfig :: none ( ) ) ?;
852
852
853
853
// We still don't see full help if there are no components.
854
854
let toml_text = r#"spin_version = "1"
@@ -891,7 +891,7 @@ route = "/..."
891
891
#[ cfg( not( target_os = "windows" ) ) ]
892
892
#[ test]
893
893
fn test_spin_plugin_install_command ( ) -> anyhow:: Result < ( ) > {
894
- let env = test_environment:: TestEnvironment :: < ( ) > :: boot ( & ServicesConfig :: none ( ) ) ?;
894
+ let env = test_environment:: TestEnvironment :: < ( ) > :: boot ( ServicesConfig :: none ( ) ) ?;
895
895
896
896
let path_to_test_dir = std:: env:: current_dir ( ) ?;
897
897
let file_url = format ! (
@@ -1011,7 +1011,7 @@ route = "/..."
1011
1011
#[ cfg( not( target_os = "windows" ) ) ]
1012
1012
#[ test]
1013
1013
fn test_cloud_plugin_autoinstall ( ) -> anyhow:: Result < ( ) > {
1014
- let env = test_environment:: TestEnvironment :: < ( ) > :: boot ( & ServicesConfig :: none ( ) ) ?;
1014
+ let env = test_environment:: TestEnvironment :: < ( ) > :: boot ( ServicesConfig :: none ( ) ) ?;
1015
1015
1016
1016
let mut login = std:: process:: Command :: new ( spin_binary ( ) ) ;
1017
1017
login
@@ -1065,7 +1065,7 @@ route = "/..."
1065
1065
} )
1066
1066
. collect :: < std:: collections:: HashMap < _ , _ > > ( ) ;
1067
1067
1068
- let env = test_environment:: TestEnvironment :: < ( ) > :: boot ( & ServicesConfig :: none ( ) ) ?;
1068
+ let env = test_environment:: TestEnvironment :: < ( ) > :: boot ( ServicesConfig :: none ( ) ) ?;
1069
1069
env. copy_into ( dir, "." ) ?;
1070
1070
1071
1071
let mut build = std:: process:: Command :: new ( spin_binary ( ) ) ;
@@ -1178,7 +1178,7 @@ route = "/..."
1178
1178
spin_up_args : Vec :: new ( ) ,
1179
1179
app_type : SpinAppType :: Http ,
1180
1180
} ,
1181
- ServicesConfig :: new ( vec ! [ "http-responses-from-file" . into ( ) ] ) ?,
1181
+ ServicesConfig :: new ( vec ! [ "http-responses-from-file" ] ) ?,
1182
1182
move |env| {
1183
1183
let service_url = format ! (
1184
1184
"http://localhost:{}" ,
@@ -1366,7 +1366,7 @@ route = "/..."
1366
1366
spin_up_args : Vec :: new ( ) ,
1367
1367
app_type : SpinAppType :: Http ,
1368
1368
} ,
1369
- ServicesConfig :: new ( vec ! [ "http-echo" . into ( ) ] ) ?,
1369
+ ServicesConfig :: new ( vec ! [ "http-echo" ] ) ?,
1370
1370
move |env| {
1371
1371
let service_url = format ! (
1372
1372
"http://localhost:{}" ,
0 commit comments