summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java b/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java
index 38ce358..ebfd87f 100644
--- a/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java
+++ b/src/main/java/com/amazon/carbonado/repo/replicated/ReplicatedRepository.java
@@ -168,6 +168,11 @@ class ReplicatedRepository
return mName;
}
+ // Used by test suite.
+ Repository getReplicaRepository() {
+ return mReplicaRepository;
+ }
+
public Repository getMasterRepository() {
return mMasterRepository;
}