Skip to content

Commit 2fdc2ce

Browse files
authored
Update testItems.js
1 parent 6875e4b commit 2fdc2ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/testItems.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +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);
13+
this.timeout(30000);
1414
it("should add item to table", function(done) {
1515
{
1616
var params = {
@@ -38,7 +38,7 @@ describe("#Add Items", function() {
3838
});
3939

4040
describe("#Update Items", function(){
41-
this.timeout(15000);
41+
this.timeout(30000);
4242
it("should update the items", function(done){
4343
var params = {
4444
TableName:"MyMovie",
@@ -92,7 +92,7 @@ describe("#Delete Items", function(){
9292
});
9393

9494
describe("#Retrieving from database",function(){
95-
this.timeout(15000);
95+
this.timeout(30000);
9696
var params = {
9797
TableName : "Movies10",
9898
KeyConditionExpression: "#yr = :yyyy",
@@ -105,7 +105,7 @@ describe("#Retrieving from database",function(){
105105
};
106106

107107
it ("Getting data from the table", function(done){
108-
this.timeout(15000);
108+
this.timeout(30000);
109109
dbClient.query(params, function(err, data) {
110110
if (err) {
111111
should.exist(err);

0 commit comments

Comments
 (0)