In tests NET_1 and NET_7 changed URL to files from mbed.org to developer.mbed.org. Reason: online IDE was moved to developer subdomain and NET1 and NET-7 tests were failing

pull/578/head
Przemek Wirkus 2014-10-17 15:59:13 +01:00
parent 74cc430faa
commit eaed52a5aa
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#include "test_env.h"
namespace {
const char *HTTP_SERVER_NAME = "mbed.org";
const char *HTTP_SERVER_NAME = "http://developer.mbed.org";
const int HTTP_SERVER_PORT = 80;
const int RECV_BUFFER_SIZE = 512;

View File

@ -19,7 +19,7 @@ int main()
//GET data
{
bool result = true;
const char *url_hello_txt = "http://mbed.org/media/uploads/donatien/hello.txt";
const char *url_hello_txt = "http://developer.mbed.org/media/uploads/donatien/hello.txt";
printf("HTTP_GET: Trying to fetch page '%s'...\r\n", url_hello_txt);
HTTPResult ret = http.get(url_hello_txt, http_request_buffer, BUFFER_SIZE);
if (ret == HTTP_OK) {