Skip to content

Commit 9731857

Browse files
authored
---
yaml --- r: 4007 b: refs/heads/pubsub-alpha c: d6bbd32 h: refs/heads/master i: 4005: bc1ee7a 4003: 9aced1f 3999: 98fc6a0
1 parent e1715de commit 9731857

3 files changed

Lines changed: 47 additions & 2 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 36a62ef856d199f8efd09501b5ba65c422c01f23
33
refs/heads/travis: e21ee7b88a5edc3f3d8c71f90c3fc32abf7e8dd6
44
refs/heads/gh-pages: 7406918e071dd2c5677a638ae2a06e7592b6542c
5-
refs/heads/pubsub-alpha: 7094469609cca2e01af6c04eb3ca8714e04698d4
5+
refs/heads/pubsub-alpha: d6bbd32eed6cb48cda8d6798ee70ddd6bfc1f07d
66
refs/heads/update-datastore: 47aae517c2cb33f1dccd909adaced73ec9d0f4df
77
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444
88
refs/tags/v0.0.10: 207ebd2a3472fddee69fe1298eb90429e3306efd

branches/pubsub-alpha/.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ before_install:
99
- cp target/travis/settings.xml ~/.m2/settings.xml
1010
install: mvn install -DskipTests=true -Dgpg.skip=true
1111
script:
12-
- travis_wait 30 utilities/verify.sh
12+
- travis_wait 60 utilities/verify.sh
1313
after_success:
1414
- utilities/after_success.sh
1515
env:
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
* Copyright 2016 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package com.google.cloud.pubsub.it;
18+
19+
import com.google.cloud.pubsub.BaseSystemTest;
20+
import com.google.cloud.pubsub.PubSub;
21+
import com.google.cloud.pubsub.PubSubOptions;
22+
23+
import org.junit.Rule;
24+
import org.junit.rules.Timeout;
25+
26+
import java.util.UUID;
27+
28+
public class ITPubSubTest extends BaseSystemTest {
29+
30+
private static final PubSub PUB_SUB = PubSubOptions.defaultInstance().service();
31+
private static final String NAME_SUFFIX = UUID.randomUUID().toString();
32+
33+
@Rule
34+
public Timeout globalTimeout = Timeout.seconds(300);
35+
36+
@Override
37+
protected PubSub pubsub() {
38+
return PUB_SUB;
39+
}
40+
41+
@Override
42+
protected String formatForTest(String resourceName) {
43+
return resourceName + "-" + NAME_SUFFIX;
44+
}
45+
}

0 commit comments

Comments
 (0)