Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pcmoritz committed Oct 29, 2016
1 parent 84c9e2d commit ef6616e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/photon/photon_scheduler.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ local_scheduler_state *init_local_scheduler(event_loop *loop,
state->loop = loop;
/* Connect to Plasma. This method will retry if Plasma hasn't started yet.
* Pass in a NULL manager address and port. */
state->plasma_conn = plasma_connect(plasma_socket_name, NULL, 0);
state->plasma_conn = plasma_connect(plasma_socket_name, NULL);
/* Subscribe to notifications about sealed objects. */
int plasma_fd = plasma_subscribe(state->plasma_conn);
/* Add the callback that processes the notification to the event loop. */
Expand Down
4 changes: 2 additions & 2 deletions src/plasma/test/manager_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ plasma_mock *init_plasma_mock(int port, plasma_mock *remote_mock) {
mock->loop = get_event_loop(mock->state);
/* Accept a connection from the local manager on the remote manager. */
if (remote_mock != NULL) {
mock->write_conn = get_manager_connection(remote_mock->state, manager_addr,
port);
mock->write_conn =
get_manager_connection(remote_mock->state, manager_addr, port);
mock->read_conn = new_client_connection(mock->loop, mock->manager_remote_fd,
mock->state, 0);
} else {
Expand Down

0 comments on commit ef6616e

Please sign in to comment.