summaryrefslogtreecommitdiffstats
path: root/store/storetest/store.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2018-06-27 05:08:40 -0400
committerGeorge Goldberg <george@gberg.me>2018-06-27 10:08:40 +0100
commit0d91bf323ec32f46453b2c4c1877e8eeb830ab4d (patch)
treed458825ac3f5c710e95fc171fa23217377e53b37 /store/storetest/store.go
parentf17c15c9d83e42e46adb8e8c1fb9706b22fe6f50 (diff)
downloadchat-0d91bf323ec32f46453b2c4c1877e8eeb830ab4d.tar.gz
chat-0d91bf323ec32f46453b2c4c1877e8eeb830ab4d.tar.bz2
chat-0d91bf323ec32f46453b2c4c1877e8eeb830ab4d.zip
Lock bulk importing to master database node (#9012)
Diffstat (limited to 'store/storetest/store.go')
-rw-r--r--store/storetest/store.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/store/storetest/store.go b/store/storetest/store.go
index 677a63101..e73596ec4 100644
--- a/store/storetest/store.go
+++ b/store/storetest/store.go
@@ -77,6 +77,8 @@ func (s *Store) ChannelMemberHistory() store.ChannelMemberHistoryStore {
}
func (s *Store) MarkSystemRanUnitTests() { /* do nothing */ }
func (s *Store) Close() { /* do nothing */ }
+func (s *Store) LockToMaster() { /* do nothing */ }
+func (s *Store) UnlockFromMaster() { /* do nothing */ }
func (s *Store) DropAllTables() { /* do nothing */ }
func (s *Store) TotalMasterDbConnections() int { return 1 }
func (s *Store) TotalReadDbConnections() int { return 1 }