Skip to content

Commit

Permalink
Changed the Grunt port to 8081. It's a workaround to a Sauce Labs [bug](
Browse files Browse the repository at this point in the history
  • Loading branch information
surtich committed Jan 24, 2014
1 parent ab4a6fe commit 801e3b0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ module.exports = function(grunt) {
{ browserName: "safari", platform: "OS X 10.9", version: "7" },

{ browserName: "iphone", platform: "OS X 10.8", version: "6.0" },
{ browserName: "iphone", platform: "OS X 10.9", version: "7" }/*,
{ browserName: "iphone", platform: "OS X 10.9", version: "7" },

{ browserName: "android", platform: "Linux", version: "4.0" }*/
{ browserName: "android", platform: "Linux", version: "4.0" }
];

var banner = '/*! <%= pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %>' +
Expand Down Expand Up @@ -55,7 +55,7 @@ module.exports = function(grunt) {
all: {
options: {
urls: [
'http://localhost:8080/test/iris.html'
'http://localhost:8081/test/iris.html'
]
}
}
Expand Down Expand Up @@ -88,7 +88,7 @@ module.exports = function(grunt) {
'saucelabs-qunit': {
all: {
options: {
urls: ["http://localhost:8080/test/iris.html"],
urls: ["http://localhost:8081/test/iris.html"],
tunnelTimeout: 5,
build: process.env.TRAVIS_JOB_ID,
concurrency: 3,
Expand Down
2 changes: 1 addition & 1 deletion echo-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var mimeType = {
, ".ico" : "image/vnd.microsoft.icon"
}

var port = 8080;
var port = 8081;

var fs = require('fs');
var url = require("url");
Expand Down
2 changes: 1 addition & 1 deletion test/component_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@
asyncTest("Test include with absolute path", function() {
window.expect(1);

iris.include(["http://localhost:8080/test/component/resource.js"], function () {
iris.include(["http://localhost:8081/test/component/resource.js"], function () {

iris.resource("test/component/resource.js").test();

Expand Down
2 changes: 1 addition & 1 deletion test/core_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
test("Get Base URI", function() {
stop();

strictEqual(iris.baseUri(), "http://localhost:8080/", "Should get a dev URL");
strictEqual(iris.baseUri(), "http://localhost:8081/", "Should get a dev URL");

start();
});
Expand Down
2 changes: 1 addition & 1 deletion test/lang_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
asyncTest("Lang Load Absolute URL Test", function() {
expect(3);

iris.translations("fr-FR2", "http://localhost:8080/test/resource/lang.json", {"success" : onSuccess, "error" : onError });
iris.translations("fr-FR2", "http://localhost:8081/test/resource/lang.json", {"success" : onSuccess, "error" : onError });
});

asyncTest("Lang Load Relative URL Test", function() {
Expand Down
2 changes: 1 addition & 1 deletion test/resource/resource.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
iris.resource(function(self){

self.settings({path : "http://localhost:8080/"});
self.settings({path : "http://localhost:8081/"});

self.load = function (id, success, error) {
self.get("test/resource/" + id, success, error);
Expand Down

0 comments on commit 801e3b0

Please sign in to comment.