Skip to content

Commit

Permalink
Merge branch 'gz-fuel-tools8' into 8_to_9
Browse files Browse the repository at this point in the history
  • Loading branch information
caguero committed Feb 2, 2024
2 parents 93ec03d + 1896341 commit 26a4d90
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Ubuntu Jammy CI
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Compile and test
id: ci
uses: gazebo-tooling/action-gz-ci@jammy
1 change: 0 additions & 1 deletion .github/workflows/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ jobs:
with:
project-url: https://github.com/orgs/gazebosim/projects/7
github-token: ${{ secrets.TRIAGE_TOKEN }}

11 changes: 11 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,17 @@
1. Support link referral download
* [Pull request #333](https://github.com/gazebosim/gz-fuel-tools/pull/333)

### Gazebo Fuel Tools 4.9.1 (2024-01-05)

1. Create directories and more output on fail
* [Pull request #392](https://github.com/gazebosim/gz-fuel-tools/pull/392)

1. Update github action workflows
* [Pull request #388](https://github.com/gazebosim/gz-fuel-tools/pull/388)

1. Zip: use non-deprecated methods
* [Pull request #360](https://github.com/gazebosim/gz-fuel-tools/pull/360)

### Gazebo Fuel Tools 4.9.0 (2023-05-03)

1. Add bash completion
Expand Down
10 changes: 7 additions & 3 deletions src/FuelClient_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,8 @@ TEST_F(FuelClientTest, DownloadWorld)
/////////////////////////////////////////////////
// Windows doesn't support colons in filenames
// https://github.com/gazebosim/gz-fuel-tools/issues/106
TEST_F(FuelClientTest, CachedWorld)
// This is fixed in gz-fuel-tools9+, but not here to preserve behavior
TEST_F(FuelClientTest, GZ_UTILS_TEST_DISABLED_ON_WIN32(CachedWorld))
{
ClientConfig config;
config.SetCacheLocation(common::joinPaths(common::cwd(), "test_cache"));
Expand Down Expand Up @@ -1490,8 +1491,11 @@ TEST_F(FuelClientTest, UploadModelFail)
EXPECT_EQ(ResultType::UPLOAD_ERROR, result.Type());
}

//////////////////////////////////////////////////
TEST_F(FuelClientTest, PatchModelFail)
/////////////////////////////////////////////////
// Windows doesn't support colons in filenames
// https://github.com/gazebosim/gz-fuel-tools/issues/106
// This is fixed in gz-fuel-tools9+, but not here to preserve behavior
TEST_F(FuelClientTest, GZ_UTILS_TEST_DISABLED_ON_WIN32(PatchModelFail))
{
FuelClient client;
ModelIdentifier modelId;
Expand Down
4 changes: 3 additions & 1 deletion src/gz_src_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class CmdLine : public ::testing::Test
// instead of on teardown leaves the folder intact for debugging if needed
common::removeAll(testCachePath);
ASSERT_TRUE(common::createDirectories(testCachePath));
ASSERT_TRUE(common::createDirectories(
common::joinPaths(testCachePath, "fuel.gazebosim.org")));
setenv("GZ_FUEL_CACHE_PATH", this->testCachePath.c_str(), true);
}

Expand Down Expand Up @@ -85,7 +87,7 @@ TEST_F(CmdLine, ModelListFail)

EXPECT_NE(this->stdOutBuffer.str().find("Invalid URL"),
std::string::npos) << this->stdOutBuffer.str();
EXPECT_TRUE(this->stdErrBuffer.str().empty());
EXPECT_TRUE(this->stdErrBuffer.str().empty()) << this->stdErrBuffer.str();
}

/////////////////////////////////////////////////
Expand Down

0 comments on commit 26a4d90

Please sign in to comment.