commit | 5105dbe1c7a320db83736855c78aba89a9da47bb | [log] [tgz] |
---|---|---|
author | Nicolas Lacasse <nlacasse@google.com> | Tue Jun 16 10:24:01 2015 -0700 |
committer | Nicolas Lacasse <nlacasse@google.com> | Tue Jun 16 10:24:30 2015 -0700 |
tree | a788e69f316cb3a9fe5ad3c4cd1f8f85be50825a | |
parent | c3353c42f7a8342e2f1a1bdd9bf8d9ce5e2e14ff [diff] |
TBR: Add missing "if (err)" check spotted by sadovsky in go/vcl/12569 Change-Id: Id6667a928a0fc05e96d127a5e9d28c30adfe892f
diff --git a/test/integration/test-batch.js b/test/integration/test-batch.js index 576a3f6..eb2f2cb 100644 --- a/test/integration/test-batch.js +++ b/test/integration/test-batch.js
@@ -331,6 +331,9 @@ test('new batch operations fail after unsuccessful batch commit', function(t) { setupTable(t, function(err, o) { + if (err) { + return t.end(err); + } var ctx = o.ctx; var db = o.database;