This repository was archived by the owner on Aug 26, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +17
-11
lines changed
Tests/TestingServices.Tests/Runtime
Tools/Visualization/TraceViewer/Properties Expand file tree Collapse file tree 6 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 11<!-- This file may be overwritten by automation. Only values allowed here are VersionPrefix and VersionSuffix. -->
22<Project >
33 <PropertyGroup >
4- <VersionPrefix >1.6.4 </VersionPrefix >
4+ <VersionPrefix >1.6.5 </VersionPrefix >
55 <VersionSuffix ></VersionSuffix >
66 </PropertyGroup >
77</Project >
Original file line number Diff line number Diff line change 1212 <OutputPath >..\bin\</OutputPath >
1313 </PropertyGroup >
1414 <ItemGroup >
15- <PackageReference Include =" Microsoft.PSharp" Version =" 1.6.4 " />
15+ <PackageReference Include =" Microsoft.PSharp" Version =" 1.6.5 " />
1616 </ItemGroup >
1717</Project >
Original file line number Diff line number Diff line change 1010 <OutputPath >..\bin\</OutputPath >
1111 </PropertyGroup >
1212 <ItemGroup >
13- <PackageReference Include =" Microsoft.PSharp" Version =" 1.6.4 " />
13+ <PackageReference Include =" Microsoft.PSharp" Version =" 1.6.5 " />
1414 </ItemGroup >
1515</Project >
Original file line number Diff line number Diff line change 22<package >
33 <metadata >
44 <id >Microsoft.PSharp</id >
5- <version >1.6.4 </version >
5+ <version >1.6.5 </version >
66 <authors >Microsoft</authors >
77 <projectUrl >https://github.com/p-org/PSharp</projectUrl >
88 <license type =" expression" >MIT</license >
99 <requireLicenseAcceptance >false</requireLicenseAcceptance >
1010 <description >P# is a framework for rapid development of reliable asynchronous software.</description >
11- <releaseNotes >This release contains the 1.6.4 version of the P# framework.</releaseNotes >
11+ <releaseNotes >This release contains the 1.6.5 version of the P# framework.</releaseNotes >
1212 <copyright >© Microsoft Corporation. All rights reserved.</copyright >
1313 <tags >asynchrony reliability specifications reactive state-machines testing</tags >
1414 </metadata >
Original file line number Diff line number Diff line change 44// ------------------------------------------------------------------------------------------------
55
66using System ;
7+ using System . Threading . Tasks ;
78using Xunit ;
89using Xunit . Abstractions ;
910
@@ -227,15 +228,20 @@ public void TestCreateMachineWithId6()
227228 {
228229 this . TestWithError ( r =>
229230 {
230- var m = r . CreateMachine ( typeof ( M2 ) ) ;
231+ bool isEventDropped = false ;
232+ r . OnEventDropped += ( Event e , MachineId target ) =>
233+ {
234+ isEventDropped = true ;
235+ } ;
231236
232- // Make sure that the machine halts
233- for ( int i = 0 ; i < 100 ; i ++ )
237+ var m = r . CreateMachine ( typeof ( M2 ) ) ;
238+ while ( ! isEventDropped )
234239 {
240+ // Make sure the machine halts before trying to reuse its id.
235241 r . SendEvent ( m , new Halt ( ) ) ;
236242 }
237243
238- // trying to bring up a halted machine
244+ // Trying to bring up a halted machine.
239245 r . CreateMachine ( m , typeof ( M2 ) ) ;
240246 } ,
241247 expectedError : "MachineId '' of a previously halted machine cannot be reused to create a new machine of type 'M2'" ) ;
Original file line number Diff line number Diff line change 5252// You can specify all the values or you can default the Build and Revision Numbers
5353// by using the '*' as shown below:
5454// [assembly: AssemblyVersion("1.0.*")]
55- [ assembly: AssemblyVersion ( "1.6.4 .0" ) ]
56- [ assembly: AssemblyFileVersion ( "1.6.4 .0" ) ]
55+ [ assembly: AssemblyVersion ( "1.6.5 .0" ) ]
56+ [ assembly: AssemblyFileVersion ( "1.6.5 .0" ) ]
You can’t perform that action at this time.
0 commit comments