diff options
author | Joram Wilander <jwawilander@gmail.com> | 2018-06-27 05:08:40 -0400 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2018-06-27 10:08:40 +0100 |
commit | 0d91bf323ec32f46453b2c4c1877e8eeb830ab4d (patch) | |
tree | d458825ac3f5c710e95fc171fa23217377e53b37 /store/storetest/mocks/LayeredStoreDatabaseLayer.go | |
parent | f17c15c9d83e42e46adb8e8c1fb9706b22fe6f50 (diff) | |
download | chat-0d91bf323ec32f46453b2c4c1877e8eeb830ab4d.tar.gz chat-0d91bf323ec32f46453b2c4c1877e8eeb830ab4d.tar.bz2 chat-0d91bf323ec32f46453b2c4c1877e8eeb830ab4d.zip |
Lock bulk importing to master database node (#9012)
Diffstat (limited to 'store/storetest/mocks/LayeredStoreDatabaseLayer.go')
-rw-r--r-- | store/storetest/mocks/LayeredStoreDatabaseLayer.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/store/storetest/mocks/LayeredStoreDatabaseLayer.go b/store/storetest/mocks/LayeredStoreDatabaseLayer.go index adbe1068c..47b594a81 100644 --- a/store/storetest/mocks/LayeredStoreDatabaseLayer.go +++ b/store/storetest/mocks/LayeredStoreDatabaseLayer.go @@ -200,6 +200,11 @@ func (_m *LayeredStoreDatabaseLayer) License() store.LicenseStore { return r0 } +// LockToMaster provides a mock function with given fields: +func (_m *LayeredStoreDatabaseLayer) LockToMaster() { + _m.Called() +} + // MarkSystemRanUnitTests provides a mock function with given fields: func (_m *LayeredStoreDatabaseLayer) MarkSystemRanUnitTests() { _m.Called() @@ -851,6 +856,11 @@ func (_m *LayeredStoreDatabaseLayer) TotalSearchDbConnections() int { return r0 } +// UnlockFromMaster provides a mock function with given fields: +func (_m *LayeredStoreDatabaseLayer) UnlockFromMaster() { + _m.Called() +} + // User provides a mock function with given fields: func (_m *LayeredStoreDatabaseLayer) User() store.UserStore { ret := _m.Called() |