loomchain icon indicating copy to clipboard operation
loomchain copied to clipboard

Unit test multi-writer app store

Open Sriep opened this issue 5 years ago • 1 comments

  • [x] I added unit tests for any code that added
  • [ ] I updated the CHANGELOG.md
  • [x] All IP is original and not copied from another source
  • [x] I assign all copyright to Loom Network for the code in the pull request

Addresses https://github.com/loomnetwork/loomchain/issues/1342

Sriep avatar Jul 30 '19 17:07 Sriep

Warning running test with -race produces lots of errors, due to

					for _, data := range snapshot.Range(prefix) {
						temp = data.Key
						temp = data.Value
					}

which could potentally read data at the same time its being changed.

Sriep avatar Jul 31 '19 15:07 Sriep