File tree Expand file tree Collapse file tree
dotnet_3/em/embedded/rest Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ private static void Main(string[] args) {
3838
3939 instrumentedSutStarter . Start ( ) ;
4040 }
41+
42+ public EmbeddedEvoMasterController ( ) {
43+ _sutPort = GetEphemeralTcpPort ( ) ;
44+ }
4145
4246 public override string GetDatabaseDriverName ( ) => null ;
4347
Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ static void Main(string[] args) {
3434
3535 instrumentedSutStarter . Start ( ) ;
3636 }
37+
38+ public EmbeddedEvoMasterController ( ) {
39+ _sutPort = GetEphemeralTcpPort ( ) ;
40+ }
41+
3742
3843 public override string StartSut ( ) {
3944
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ static void Main(string[] args) {
4444 instrumentedSutStarter . Start ( ) ;
4545 }
4646
47+ public EmbeddedEvoMasterController ( ) {
48+ _sutPort = GetEphemeralTcpPort ( ) ;
49+ }
50+
4751 public override string GetDatabaseDriverName ( ) => null ;
4852
4953 public override List < AuthenticationDto > GetInfoForAuthentication ( ) => null ;
Original file line number Diff line number Diff line change @@ -33,8 +33,12 @@ static void Main(string[] args) {
3333 instrumentedSutStarter . Start ( ) ;
3434 }
3535
36+ public EmbeddedEvoMasterController ( ) {
37+ _sutPort = GetEphemeralTcpPort ( ) ;
38+ }
39+
3640 public override string StartSut ( ) {
37-
41+
3842 Task . Run ( ( ) => { SCS . Program . Main ( new [ ] { _sutPort . ToString ( ) } ) ; } ) ;
3943
4044 WaitUntilSutIsRunning ( _sutPort ) ;
You can’t perform that action at this time.
0 commit comments