Skip to content

Commit

Permalink
fix:slash_test
Browse files Browse the repository at this point in the history
  • Loading branch information
brother-jin committed Dec 26, 2024
1 parent fb2c2ff commit a826a02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/pika.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,6 @@ jobs:
rm -rf ./deps
rm -rf ./buildtree
- name: Test
working-directory: ${{ github.workspace }}/build
run: ctest --rerun-failed --output-on-failure -C ${{ env.BUILD_TYPE }}

- name: Unit Test
working-directory: ${{ github.workspace }}
run: |
Expand Down
4 changes: 2 additions & 2 deletions src/pstd/tests/slash_env_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace pstd {

class EnvTest : public ::testing::Test {};

/*TEST_F(EnvTest, SetMaxFileDescriptorNum) {
TEST_F(EnvTest, SetMaxFileDescriptorNum) {
ASSERT_EQ(0, SetMaxFileDescriptorNum(10));
ASSERT_NE(0, SetMaxFileDescriptorNum(2147483647));
}
Expand All @@ -28,6 +28,6 @@ TEST_F(EnvTest, FileOps) {
ASSERT_TRUE(!FileExists(tmp_dir));
ASSERT_EQ(-1, DeleteDir(tmp_dir));
ASSERT_NE(0, SetMaxFileDescriptorNum(2147483647));
}*/
}

} // namespace pstd

0 comments on commit a826a02

Please sign in to comment.