-
Notifications
You must be signed in to change notification settings - Fork 6
Update Plugin RDT to supported level #17
base: master
Are you sure you want to change the base?
Conversation
src/medium_test.cpp
Outdated
@@ -336,25 +336,29 @@ void test_collected_metrics_content(PQOSMock *p_mock, pqos_cap *p_cap, unsigned | |||
// Start collecting all metrics | |||
rdt::Collector *rdt = new rdt::Collector(p_mock); | |||
auto metrics = fixture_metrics(num_cores); | |||
EXPECT_NO_THROW(rdt->collect_metrics(metrics)); | |||
auto mts = rdt->collect_metrics(metrics); | |||
// /EXPECT_NO_THROW(rdt->collect_metrics(metrics)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commented out code
d390053
to
cab8bc6
Compare
2206536
to
593c099
Compare
work in progress- testing
a7e487a
to
352e2d8
Compare
352e2d8
to
3ff254f
Compare
Here is link for easier review: https://reviewable.io/reviews/intelsdi-x/snap-plugin-collector-rdt/17#- |
RUN yum install -y git cmake mc tmux autoconf automake libtool curl make unzip wget clang gcc-c++ | ||
FROM ubuntu:xenial | ||
|
||
RUN apt-get update && apt-get upgrade -yq |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove double spaces
{ | ||
auto metric_ns = extract_ns(metrics[i]); | ||
std::string metric_ns = "/"; | ||
metric_ns += mts[i].ns().get_string(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leading namespace by separator should happen in get_string(), not outside. I submitted an issue to address this change in snap-plugin-lib-cpp - intelsdi-x/snap-plugin-lib-cpp#66. Until it's not resolved in plugin-lib side, it might stay as it is in collector tests.
sudo yum install -y git cmake mc tmux autoconf automake libtool curl make unzip wget clang gcc-c++ | ||
cd snap-plugin-collector-rdt | ||
sudo apt-get update && sudo apt-get upgrade -yq | ||
sudo apt-get install g++-4.9 gcc-4.9 protobuf-compiler libprotobuf-dev libprotoc-dev libboost-dev libcppnetlib-dev libspdlog-dev git curl cmake golang-go autoconf libtool ca-certificates unzip software-properties-common golang-go -yq |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
golang-go
two times
FROM ubuntu:xenial | ||
|
||
RUN apt-get update && apt-get upgrade -yq | ||
RUN apt-get install g++-4.9 gcc-4.9 protobuf-compiler libprotobuf-dev libprotoc-dev libboost-dev libcppnetlib-dev libspdlog-dev git curl cmake golang-go autoconf libtool ca-certificates unzip software-properties-common golang-go -yq |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
golang-go
two times
:( |
Updated collector to newest version of snap-plugin-lib-cpp
This change is