File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ pub struct MssqlServer {
57
57
58
58
impl MssqlServer {
59
59
const NAME : & ' static str = "mcr.microsoft.com/mssql/server" ;
60
- const TAG : & ' static str = "2022-CU10 -ubuntu-22.04" ;
60
+ const TAG : & ' static str = "2022-CU14 -ubuntu-22.04" ;
61
61
const DEFAULT_SA_PASSWORD : & ' static str = "yourStrong(!)Password" ;
62
62
63
63
/// Sets the password as `MSSQL_SA_PASSWORD`.
@@ -155,25 +155,6 @@ mod tests {
155
155
Ok ( ( ) )
156
156
}
157
157
158
- #[ tokio:: test]
159
- async fn custom_version ( ) -> Result < ( ) , Box < dyn error:: Error > > {
160
- let image = MssqlServer :: default ( ) . with_tag ( "2019-CU23-ubuntu-20.04" ) ;
161
- let container = image. start ( ) . await ?;
162
- let config = new_config (
163
- container. get_host ( ) . await ?,
164
- container. get_host_port_ipv4 ( 1433 ) . await ?,
165
- "yourStrong(!)Password" ,
166
- ) ;
167
- let mut client = get_mssql_client ( config) . await ?;
168
-
169
- let stream = client. query ( "SELECT @@VERSION" , & [ ] ) . await ?;
170
- let row = stream. into_row ( ) . await ?. unwrap ( ) ;
171
-
172
- assert ! ( row. get:: <& str , _>( 0 ) . unwrap( ) . contains( "2019" ) ) ;
173
-
174
- Ok ( ( ) )
175
- }
176
-
177
158
async fn get_mssql_client (
178
159
config : Config ,
179
160
) -> Result < Client < Compat < TcpStream > > , Box < dyn error:: Error > > {
You can’t perform that action at this time.
0 commit comments