Reset dynamodb integration tests to use AWS.
@@ -10,8 +10,7 @@ use rusoto_core::default_tls_client;
#[test]
fn should_parse_error_type() {
let credentials = DefaultCredentialsProvider::new().unwrap();
- let a_region = Region::Custom("http://localhost:8000".to_owned());
- let client = DynamoDbClient::new(default_tls_client().unwrap(), credentials, a_region);
+ let client = DynamoDbClient::new(default_tls_client().unwrap(), credentials, Region::UsEast1);
// limit of -1 should generate a validation error
let request = ListTablesInput { limit: Some(-1), ..Default::default() };
@@ -29,8 +28,7 @@ fn should_parse_error_type() {
#[test]
fn should_list_tables() {
let credentials = DefaultCredentialsProvider::new().unwrap();
- let a_region = Region::Custom("http://localhost:8000".to_owned());
- let client = DynamoDbClient::new(default_tls_client().unwrap(), credentials, a_region);
+ let client = DynamoDbClient::new(default_tls_client().unwrap(), credentials, Region::UsEast1);
let request = ListTablesInput::default();
client.list_tables(&request).unwrap();
