@@ -10,7 +10,7 @@ var db = new aws.DynamoDB({ endpoint: "http://localhost:8000" });
10
10
var dbClient = new aws . DynamoDB . DocumentClient ( { endpoint : "http://localhost:8000" } ) ;
11
11
12
12
describe ( "#Add Items" , function ( ) {
13
- this . timeout ( 30000 ) ;
13
+ this . timeout ( 50000 ) ;
14
14
it ( "should add item to table" , function ( done ) {
15
15
{
16
16
var params = {
@@ -38,7 +38,7 @@ describe("#Add Items", function() {
38
38
} ) ;
39
39
40
40
describe ( "#Update Items" , function ( ) {
41
- this . timeout ( 30000 ) ;
41
+ this . timeout ( 50000 ) ;
42
42
it ( "should update the items" , function ( done ) {
43
43
var params = {
44
44
TableName :"MyMovie" ,
@@ -67,7 +67,7 @@ describe("#Update Items", function(){
67
67
} ) ;
68
68
69
69
describe ( "#Delete Items" , function ( ) {
70
- this . timeout ( 30000 ) ;
70
+ this . timeout ( 50000 ) ;
71
71
it ( "should delete the items" , function ( done ) {
72
72
var params = {
73
73
TableName :"Movies10" ,
@@ -92,7 +92,7 @@ describe("#Delete Items", function(){
92
92
} ) ;
93
93
94
94
describe ( "#Retrieving from database" , function ( ) {
95
- this . timeout ( 30000 ) ;
95
+ this . timeout ( 50000 ) ;
96
96
var params = {
97
97
TableName : "Movies10" ,
98
98
KeyConditionExpression : "#yr = :yyyy" ,
@@ -105,7 +105,7 @@ describe("#Retrieving from database",function(){
105
105
} ;
106
106
107
107
it ( "Getting data from the table" , function ( done ) {
108
- this . timeout ( 30000 ) ;
108
+ this . timeout ( 50000 ) ;
109
109
dbClient . query ( params , function ( err , data ) {
110
110
if ( err ) {
111
111
should . exist ( err ) ;
0 commit comments