Skip to content

Commit

Permalink
Bump server manager version
Browse files Browse the repository at this point in the history
  • Loading branch information
edubart committed Feb 16, 2023
1 parent 0435070 commit d9ccb7f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
TEST_VERSION: v0.25.0
GROUND_TRUTH_VERSION: v0.24.0-0001
BUILD_CACHE_VERSION: v0.10.0-0001
SERVER_MANAGER_VERSION: 0.5.0
SERVER_MANAGER_VERSION: 0.6.0
jobs:
build:
name: Build
Expand Down
2 changes: 1 addition & 1 deletion src/server-manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ constexpr const uint64_t ROLLUP_ADVANCE_STATE = 0;
constexpr const uint64_t ROLLUP_INSPECT_STATE = 1;

static constexpr uint32_t manager_version_major = 0;
static constexpr uint32_t manager_version_minor = 5;
static constexpr uint32_t manager_version_minor = 6;
static constexpr uint32_t manager_version_patch = 0;
static constexpr const char *manager_version_pre_release = "";
static constexpr const char *manager_version_build = "";
Expand Down
4 changes: 2 additions & 2 deletions src/test-server-manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -677,12 +677,12 @@ void assert_bool(bool value, const std::string &msg, const std::string &file, in
#define ASSERT_STATUS_CODE(s, f, v) assert_status_code(s, f, v, __FILE__, __LINE__)

static void test_get_version(const std::function<void(const std::string &title, test_function f)> &test) {
test("The server-manager server version should be 0.5.x", [](ServerManagerClient &manager) {
test("The server-manager server version should be 0.6.x", [](ServerManagerClient &manager) {
Versioning::GetVersionResponse response;
Status status = manager.get_version(response);
ASSERT_STATUS(status, "GetVersion", true);
ASSERT((response.version().major() == 0), "Version Major should be 0");
ASSERT((response.version().minor() == 5), "Version Minor should be 5");
ASSERT((response.version().minor() == 6), "Version Minor should be 6");
});
}

Expand Down

0 comments on commit d9ccb7f

Please sign in to comment.