Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
Smjert committed Oct 18, 2024
1 parent 0f52cb5 commit a76439f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/hosted_runners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ on:
branches:
- 'master'
- 'main'
- 'stefano/fix/macos-15-tests'

tags:
- '*'
Expand Down Expand Up @@ -251,6 +252,7 @@ jobs:
# The Linux build will only start once we know that the code
# has been properly formatted
build_linux:
if: false
needs: [check_code_style, check_libraries_manifest]

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -951,6 +953,7 @@ jobs:
# The Windows build will only start once we know that the code
# has been properly formatted
build_windows:
if: false
needs: [check_code_style, check_libraries_manifest]

runs-on: ${{ matrix.os }}
Expand Down
3 changes: 3 additions & 0 deletions osquery/remote/tests/test_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ bool TLSServerRunner::start(const std::string& server_cert,
if (!started) {
return false;
}

LOG(WARNING) << "Python server started correctly";

return true;
}

Expand Down
4 changes: 2 additions & 2 deletions plugins/config/tests/tls_config_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ TEST_F(TLSConfigTests, test_setup) {
request.setOption("hostname", Flag::getValue("tls_hostname"));

status = request.call(JSON());
ASSERT_TRUE(status.ok());
ASSERT_TRUE(status.ok()) << status.getMessage();

status = request.getResponse(response_tree);
ASSERT_TRUE(status.ok());
ASSERT_TRUE(status.ok()) << status.getMessage();

// TLSConfigPlugin should *not* have sent an enroll or any other TLS request
// It should have used the cached-key
Expand Down
3 changes: 2 additions & 1 deletion tools/tests/test_http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import argparse
import base64
from datetime import datetime
import json
import os
import random
Expand Down Expand Up @@ -127,7 +128,7 @@

def debug(response):
if ARGS["verbose"]:
print("-- [DEBUG] %s" % str(response))
print(f"-- [DEBUG] {datetime.now().isoformat()} {str(response)}")
sys.stdout.flush()
sys.stderr.flush()

Expand Down

0 comments on commit a76439f

Please sign in to comment.