Y20230427-1000
The *OutOfSync tests in IProjectTest create files in the file system and assume them to be unsynchronized with the workspace. A concurrent execution of the background refresh job can, however, lead to a synchronized state of the resources in the workspace. With this change, a potentially pending refresh is processed before creating the file in the file system, such that its state may not concurrently change.