Skip to content

Commit

Permalink
UT fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Xiao Yutong committed Dec 18, 2024
1 parent 33b7e88 commit 0477696
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,9 @@ public WAL getWAL(RegionInfo region) throws IOException {
public WAL getWALInGlobalScope(RegionInfo regionInfo) throws IOException {
if (providerInReplicationScope != null) {
return providerInReplicationScope.getWAL(regionInfo);
} else {
throw new IllegalStateException("WAL Provider for replication is not correct initialized.");
}
// we have this due to UT.
return provider.getWAL(regionInfo);
}

public WALStreamReader createStreamReader(FileSystem fs, Path path) throws IOException {
Expand Down

0 comments on commit 0477696

Please sign in to comment.