Skip to content

Commit

Permalink
Fix: github workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
small-turtle-1 committed May 7, 2024
1 parent ce4f267 commit 0cc37d4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ jobs:

- name: Unit test debug version
if: ${{ !cancelled() && !failure() }}
run: sudo docker exec infinity_build bash -c "mkdir -p /var/infinity && cd /infinity/ && cmake-build-debug/src/test_main"
run: sudo docker exec infinity_build bash -c "mkdir -p /var/infinity && cd /infinity/ && cmake-build-debug/src/test_main > unittest_debug.log 2>&1"

- name: Collect infinity unit test debug output
run: cat unittest_debug.log 2>/dev/null || true

- name: Install pysdk
if: ${{ !cancelled() && !failure() }}
Expand Down Expand Up @@ -113,7 +116,6 @@ jobs:
- name: Collect infinity debug output
# GitHub Actions interprets output lines starting with "Error" as error messages, and it automatically sets the step status to failed when such lines are detected.
if: ${{ !cancelled() }} # always run this step even if previous steps failed
run: cat debug.log 2>/dev/null || true

release_tests:
Expand Down Expand Up @@ -154,7 +156,10 @@ jobs:

- name: Unit test release version
if: ${{ !cancelled() && !failure() }}
run: sudo docker exec infinity_build bash -c "mkdir -p /var/infinity && cd /infinity/ && cmake-build-release/src/test_main"
run: sudo docker exec infinity_build bash -c "mkdir -p /var/infinity && cd /infinity/ && cmake-build-release/src/test_main > unittest_release.log 2>&1"

- name: Collect infinity unit test release output
run: cat unittest_release.log 2>/dev/null || true

- name: Install pysdk
if: ${{ !cancelled() && !failure() }}
Expand Down Expand Up @@ -207,7 +212,6 @@ jobs:
- name: Collect infinity release output
# GitHub Actions interprets output lines starting with "Error" as error messages, and it automatically sets the step status to failed when such lines are detected.
if: ${{ !cancelled() }} # always run this step even if previous steps failed
run: cat release.log 2>/dev/null || true

- name: Prepare sift dataset
Expand Down
2 changes: 0 additions & 2 deletions src/main/infinity_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ import resource_manager;
import task_scheduler;
import storage;
import session_manager;
import status;
import third_party;

namespace infinity {

Expand Down
1 change: 0 additions & 1 deletion src/storage/bg_task/compact_segments_task.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ struct ToDeleteInfo {
};

export struct CompactSegmentsTaskState {
// default copy construct of table ref
RowIDRemapper remapper_;

Vector<Pair<SharedPtr<SegmentEntry>, Vector<SegmentEntry *>>> segment_data_;
Expand Down
1 change: 0 additions & 1 deletion src/storage/txn/txn_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ Txn *TxnManager::BeginTxn(UniquePtr<String> txn_text) {

// Record the start ts of the txn
TxnTimeStamp ts = ++start_ts_;
// LOG_INFO(fmt::format("Txn {} begin ts: {}", new_txn_id, ts));

// Create txn instance
auto new_txn = SharedPtr<Txn>(new Txn(this, buffer_mgr_, catalog_, bg_task_processor_, new_txn_id, ts, std::move(txn_text)));
Expand Down
1 change: 1 addition & 0 deletions src/unit_test/storage/buffer/buffer_obj.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class BufferObjTest : public BaseTest {
UnrecoverableException("WaitCleanup timeout");
}
usleep(1000 * 1000);
LOG_INFO(fmt::format("Wait cleanup for {} seconds", end - start));
}

auto buffer_mgr = txn_mgr->GetBufferMgr();
Expand Down

0 comments on commit 0cc37d4

Please sign in to comment.