Skip to content

Commit

Permalink
GH-1397: fix test failures that were caused by the recent change here…
Browse files Browse the repository at this point in the history
… in the test project
  • Loading branch information
martinlippert committed Nov 8, 2024
1 parent ad0cb29 commit 39cef54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void testBeansNameAndTypeFromBeanAnnotatedMethod() throws Exception {
List<Bean> beans = result.get(5, TimeUnit.SECONDS);

assertNotNull(beans);
assertEquals(19, beans.size());
assertEquals(23, beans.size());
}

@Test
Expand All @@ -98,7 +98,7 @@ void testMatchingBeansForObject() throws Exception {
List<Bean> beans = result.get(5, TimeUnit.SECONDS);

assertNotNull(beans);
assertEquals(18, beans.size());
assertEquals(22, beans.size());
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void testUpdateNotificationAfterProjectCreation() {
@Test
void testDeleteProject() throws Exception {
Bean[] beans = springIndex.getBeansOfProject("test-spring-indexing");
assertEquals(19, beans.length);
assertEquals(23, beans.length);

CompletableFuture<Void> deleteProject = indexer.deleteProject(project);
deleteProject.get(5, TimeUnit.SECONDS);
Expand All @@ -92,7 +92,7 @@ void testRemoveSymbolsFromDeletedDocument() throws Exception {
String deletedDocURI = directory.toPath().resolve("src/main/java/org/test/injections/ConstructorInjectionService.java").toUri().toString();

Bean[] allBeansOfProject = springIndex.getBeansOfProject("test-spring-indexing");
assertEquals(19, allBeansOfProject.length);
assertEquals(23, allBeansOfProject.length);

Bean[] beans = springIndex.getBeansOfDocument(deletedDocURI);
assertEquals(1, beans.length);
Expand Down

0 comments on commit 39cef54

Please sign in to comment.