Skip to content

Commit

Permalink
waitForBuild in testResourceInExternalFolder
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Jan 28, 2025
1 parent 8391f49 commit 12fba88
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ public void run() {
IFile file2 = externalFolder.getFile("b.nonindexed");
file2.create(new StringInputStream("content"), true, monitor());
IClasspathEntry classpathEntry = addExternalFolderToClasspath(project, externalFolder);

waitForBuild();

IPackageFragmentRoot packageFragmentRoot = project.findPackageFragmentRoots(classpathEntry)[0];
Assert.assertTrue(packageFragmentRoot.getPath().toFile().setLastModified(456L));
Storage2UriMapperJavaImpl impl = getStorage2UriMapper();
Expand Down

0 comments on commit 12fba88

Please sign in to comment.