Skip to content

Commit ca07c1c

Browse files
Free resource after test
1 parent 814101f commit ca07c1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/src/internalClusterTest/java/org/elasticsearch/search/ccs/CpsDoesNotUseSkipUnavailableIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ public void testCpsShouldNotUseSkipUnavailable() {
101101
linkedClusterFailures.getFirst().getCause(),
102102
Matchers.anyOf(Matchers.instanceOf(RemoteTransportException.class), Matchers.instanceOf(ConnectTransportException.class))
103103
);
104+
105+
result.decRef();
104106
}
105107

106108
/*

0 commit comments

Comments
 (0)