Skip to content

Commit

Permalink
Upgrade Appveyor to VS2017
Browse files Browse the repository at this point in the history
Summary:
Per some discussions, this will switch our Appveyor testing to use Visual Studio 2017.
Closes facebook/rocksdb#3445

Differential Revision: D6874918

Pulled By: gfosco

fbshipit-source-id: c5a0032ca9f37f0d3baeae35c59d850d528c3176
  • Loading branch information
gfosco authored and facebook-github-bot committed Feb 1, 2018
1 parent b78ed04 commit ba8aa8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: 1.0.{build}
image: Visual Studio 2015
image: Visual Studio 2017
before_build:
- md %APPVEYOR_BUILD_FOLDER%\build
- cd %APPVEYOR_BUILD_FOLDER%\build
- cmake -G "Visual Studio 14 Win64" -DOPTDBG=1 -DWITH_XPRESS=1 -DPORTABLE=1 ..
- cmake -G "Visual Studio 15 Win64" -DOPTDBG=1 -DWITH_XPRESS=1 -DPORTABLE=1 ..
- cd ..
build:
project: build\rocksdb.sln
Expand Down
3 changes: 2 additions & 1 deletion db/external_sst_file_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,10 @@ class SstFileWriterCollector : public TablePropertiesCollector {
const char* Name() const override { return name_.c_str(); }

Status Finish(UserCollectedProperties* properties) override {
std::string count = std::to_string(count_);
*properties = UserCollectedProperties{
{prefix_ + "_SstFileWriterCollector", "YES"},
{prefix_ + "_Count", std::to_string(count_)},
{prefix_ + "_Count", count},
};
return Status::OK();
}
Expand Down

0 comments on commit ba8aa8f

Please sign in to comment.