Skip to content

Commit 6875e4b

Browse files
authored
Update testItems.js
1 parent 832ef9a commit 6875e4b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/testItems.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ var db = new aws.DynamoDB({ endpoint: "http://localhost:8000" });
1010
var dbClient = new aws.DynamoDB.DocumentClient({ endpoint: "http://localhost:8000"});
1111

1212
describe("#Add Items", function() {
13+
this.timeout(15000);
1314
it("should add item to table", function(done) {
1415
{
1516
var params = {
@@ -37,6 +38,7 @@ describe("#Add Items", function() {
3738
});
3839

3940
describe("#Update Items", function(){
41+
this.timeout(15000);
4042
it("should update the items", function(done){
4143
var params = {
4244
TableName:"MyMovie",
@@ -65,6 +67,7 @@ describe("#Update Items", function(){
6567
});
6668

6769
describe("#Delete Items", function(){
70+
this.timeout(15000);
6871
it("should delete the items", function(done){
6972
var params = {
7073
TableName:"Movies10",
@@ -89,6 +92,7 @@ describe("#Delete Items", function(){
8992
});
9093

9194
describe("#Retrieving from database",function(){
95+
this.timeout(15000);
9296
var params = {
9397
TableName : "Movies10",
9498
KeyConditionExpression: "#yr = :yyyy",
@@ -101,6 +105,7 @@ describe("#Retrieving from database",function(){
101105
};
102106

103107
it ("Getting data from the table", function(done){
108+
this.timeout(15000);
104109
dbClient.query(params, function(err, data) {
105110
if (err) {
106111
should.exist(err);

0 commit comments

Comments
 (0)