test/zold/stress/test_pmnts.rb in zold-stress-0.4.0 vs test/zold/stress/test_pmnts.rb in zold-stress-0.5.0
- old
+ new
@@ -18,10 +18,11 @@
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+require 'eventmachine'
require 'minitest/autorun'
require 'zold/key'
require 'zold/id'
require 'zold/log'
require 'zold/wallets'
@@ -87,9 +88,8 @@
opts: test_opts('--batch=20'),
log: test_log, vlog: test_log
).send
assert_equal(20, sent.count)
assert_equal(46, wallets.all.map { |id| wallets.find(id) { |w| w.txns.count } }.inject(&:+))
- assert_equal(ids.sort, sent.map { |s| s[:source] }.sort.uniq)
end
end
end