Commit 480b3e1e authored by Greg Williams's avatar Greg Williams
Browse files

Changed time.h to use CLOCK_MONOTONIC instead of CLOCK_REALTIME, since the...

Changed time.h to use CLOCK_MONOTONIC instead of CLOCK_REALTIME, since the former is not found for Travis CI Linux builds
parent fc202fd7
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -42,10 +42,6 @@
    - *common_defines

:flags:
  :release:
    :link:
      :kinetic-c-client:
        - -l libssl
  :test:
    :link:
      :test_kinetic_hmac:
+3 −3
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ void current_utc_time(struct timespec *ts) {
      ts->tv_sec = mts.tv_sec;
      ts->tv_nsec = mts.tv_nsec;
    #else
      clock_gettime(CLOCK_REALTIME, ts);
      clock_gettime(CLOCK_MONOTONIC, ts);
    #endif
}

@@ -166,8 +166,8 @@ void* kinetic_put(void* kinetic_arg)

void test_kinetic_client_should_be_able_to_store_an_arbitrarily_large_binary_object_and_split_across_entries_via_ovelapped_IO_operations(void)
{
    const int maxIterations = 4;
    const int numCopiesToStore = 5;
    const int maxIterations = 2;
    const int numCopiesToStore = 4;
    const KineticSession sessionConfig = {
        .host = SYSTEM_TEST_HOST,
        .port = KINETIC_PORT,