Skip to content

Commit

Permalink
Fixed tests to match tracer API updates (#102)
Browse files Browse the repository at this point in the history
* Fixed tests to match tracer API updates
  • Loading branch information
Justin Boswell authored Nov 5, 2019
1 parent e02d928 commit ab98e46
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,6 @@ Temporary Items

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

### VisualStudioCode Patch ###
# Ignore all local history of files
Expand Down
2 changes: 1 addition & 1 deletion tests/aws_iot_client_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ int main(int argc, char **argv) {
const char *private_key = argv[3];
const char *root_ca = argv[4];

struct aws_allocator *allocator = aws_mem_tracer_new(aws_default_allocator(), AWS_MEMTRACE_BYTES, 0);
struct aws_allocator *allocator = aws_mem_tracer_new(aws_default_allocator(), NULL, AWS_MEMTRACE_BYTES, 0);

struct aws_mutex mutex = AWS_MUTEX_INIT;
struct aws_condition_variable condition_variable = AWS_CONDITION_VARIABLE_INIT;
Expand Down
2 changes: 1 addition & 1 deletion tests/paho_client_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ int main(int argc, char **argv) {
(void)argc;
(void)argv;

struct aws_allocator *allocator = aws_mem_tracer_new(aws_default_allocator(), AWS_MEMTRACE_BYTES, 0);
struct aws_allocator *allocator = aws_mem_tracer_new(aws_default_allocator(), NULL, AWS_MEMTRACE_BYTES, 0);

aws_mqtt_library_init(allocator);

Expand Down

0 comments on commit ab98e46

Please sign in to comment.