VOL-1334 : Fixed concurrency issues
- Semaphores were added at the different layers of the model
- Made the proxy interfaces more robust
- Eliminated problems while retrieving latest data in concurrent mode
Change-Id: I7854105d7effa10e5cb704f5d9917569ab184f84
diff --git a/db/model/branch_test.go b/db/model/branch_test.go
index 1f2eec2..26129fa 100644
--- a/db/model/branch_test.go
+++ b/db/model/branch_test.go
@@ -58,7 +58,7 @@
}
func Test_ConfigBranch_GetRevision(t *testing.T) {
- rev := BRANCH.get(HASH)
+ rev := BRANCH.GetRevision(HASH)
t.Logf("Got revision for hash:%s rev:%+v\n", HASH, rev)
}
func Test_ConfigBranch_LatestRevision(t *testing.T) {