Skip to content

Commit

Permalink
CNDB-12620: Fix testIndexQueriesWithIndexNotReady for the newly creat…
Browse files Browse the repository at this point in the history
…ed exception
  • Loading branch information
ekaterinadimitrova2 committed Jan 29, 2025
1 parent b7abb57 commit 96dad2a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

import com.google.common.collect.ImmutableSet;

import org.apache.cassandra.index.IndexIsBuildingException;
import org.apache.commons.lang3.StringUtils;
import org.junit.Test;

Expand Down Expand Up @@ -1148,7 +1149,7 @@ public void testIndexQueriesWithIndexNotReady()
execute("SELECT value FROM %s WHERE value = 2");
fail();
}
catch (IndexNotAvailableException e)
catch (IndexIsBuildingException e)
{
assertTrue(true);
}
Expand Down

0 comments on commit 96dad2a

Please sign in to comment.