Skip to content

Commit

Permalink
Fix, system tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gobwas committed Sep 24, 2015
1 parent 1dae1ab commit 7fd9798
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion .travis.yml
@@ -1 +1,11 @@
language: rust
sudo: false

language: rust

before_install:
- wget http://influxdb.s3.amazonaws.com/influxdb_0.9.4.1_amd64.deb
- dpkg-deb -x influxdb_0.9.4.1_amd64.deb $HOME
- $HOME/opt/influxdb/versions/0.9.4.1/influxd > $HOME/influx.log 2>&1 &

after_script:
- cat $HOME/influx.log
2 changes: 1 addition & 1 deletion src/client/http.rs
Expand Up @@ -29,7 +29,7 @@ pub struct HttpClient<'a> {
}

impl<'a> HttpClient<'a> {
pub fn new(credentials: Credentials, serializer: Box<Serializer>, hurl: Box<Hurl>) -> HttpClient {
pub fn new(credentials: Credentials<'a>, serializer: Box<Serializer>, hurl: Box<Hurl>) -> HttpClient<'a> {
HttpClient {
credentials: credentials,
serializer: serializer,
Expand Down
2 changes: 1 addition & 1 deletion tests/lib.rs
Expand Up @@ -22,7 +22,7 @@ fn before<'a>() -> HttpClient<'a> {
client
}

// #[test]
#[test]
fn test_write_measurement() {
let mut client = before();

Expand Down

0 comments on commit 7fd9798

Please sign in to comment.