author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
123,841
17.01.2023 14:24:02
18,000
335f037a2e61e3e9e52dc16680a13d674f7c6ebe
mark inactive indicators on api documentation
[ { "change_type": "MODIFY", "old_path": "docs/api/covidcast-signals/covid-act-now.md", "new_path": "docs/api/covidcast-signals/covid-act-now.md", "diff": "---\ntitle: COVID Act Now\n-parent: Data Sources and Signals\n+parent: Inactive Signals\ngrand_parent: COVIDcast Main Endpoint\n---\n" }, { ...
Python
MIT License
cmu-delphi/delphi-epidata
mark inactive indicators on api documentation
123,841
17.01.2023 16:40:57
18,000
f4bdbeb3d5f16036b1c51d6e8360db9fe3e4d505
changes to quidel
[ { "change_type": "DELETE", "old_path": "docs/api/covidcast-signals/safegraph.md", "new_path": null, "diff": "----\n-title: SafeGraph\n-parent: Data Sources and Signals\n-grand_parent: COVIDcast Main Endpoint\n----\n-\n-# SafeGraph\n-{: .no_toc}\n-* **Source name:** `safegraph`\n-* **Available for:**...
Python
MIT License
cmu-delphi/delphi-epidata
changes to quidel
123,850
17.01.2023 17:13:03
18,000
9f4b5fa0b31029fcadd002a257e71f0aea5737a7
s/Safegraph/Quidel on quidel.md
[ { "change_type": "MODIFY", "old_path": "docs/api/covidcast-signals/quidel.md", "new_path": "docs/api/covidcast-signals/quidel.md", "diff": "@@ -158,4 +158,4 @@ no data is reported for that area on that day; an API query for all reported geo\nthat day will not include it.\n## Flu Tests (inactive)\n-T...
Python
MIT License
cmu-delphi/delphi-epidata
s/Safegraph/Quidel on quidel.md
123,850
18.01.2023 16:11:02
18,000
247a1e352c275a02f362b9247bbb7de794bb0f08
[covid_hosp] add new column instead of repurpose old column
[ { "change_type": "MODIFY", "old_path": "src/acquisition/covid_hosp/common/database.py", "new_path": "src/acquisition/covid_hosp/common/database.py", "diff": "@@ -19,7 +19,7 @@ class Database:\ndef __init__(self,\nconnection,\ntable_name=None,\n- dataset_name=None,\n+ hhs_dataset_id=None,\ncolumns_an...
Python
MIT License
cmu-delphi/delphi-epidata
[covid_hosp] add new column instead of repurpose old column
123,858
18.01.2023 16:15:08
18,000
269b2942a8bb6ea62349d3b099a009e027a7b0c5
1. Merge dev to current branch
[ { "change_type": "MODIFY", "old_path": "src/server/_params.py", "new_path": "src/server/_params.py", "diff": "@@ -381,6 +381,9 @@ def extract_integers(key: Union[str, Sequence[str]]) -> Optional[List[IntRange]]\ndef parse_date(s: str) -> int:\n# parses a given string in format YYYYMMDD or YYYY-MM-DD...
Python
MIT License
cmu-delphi/delphi-epidata
1. Merge dev to current branch
123,858
19.01.2023 12:28:42
18,000
79e32dc31aaec252770c89ba72e472a656bd4578
Update src/server/_params.py
[ { "change_type": "MODIFY", "old_path": "src/server/_params.py", "new_path": "src/server/_params.py", "diff": "@@ -480,7 +480,7 @@ def parse_time_set() -> TimeSet:\n# old version\nrequire_all(\"time_type\", \"time_values\")\ntime_values = extract_dates(\"time_values\")\n- if len(time_values) == 1 and...
Python
MIT License
cmu-delphi/delphi-epidata
Update src/server/_params.py Co-authored-by: Katie Mazaitis <krivard@cs.cmu.edu>
123,858
19.01.2023 12:29:18
18,000
c53c15ada34386be999a6d34f0ede141defe521c
Update integrations/server/test_covidcast.py
[ { "change_type": "MODIFY", "old_path": "integrations/server/test_covidcast.py", "new_path": "integrations/server/test_covidcast.py", "diff": "@@ -80,7 +80,7 @@ class CovidcastTests(CovidcastBase):\nself._make_placeholder_row(time_value=2000_01_01, value=i*1., stderr=i*10., sample_size=i*100., issue=...
Python
MIT License
cmu-delphi/delphi-epidata
Update integrations/server/test_covidcast.py Co-authored-by: Katie Mazaitis <krivard@cs.cmu.edu>
123,850
19.01.2023 20:44:03
0
319e95f1acbbe140d05f741a8ba36327ddbd3d07
chore: release delphi-epidata 0.4.5
[ { "change_type": "MODIFY", "old_path": ".bumpversion.cfg", "new_path": ".bumpversion.cfg", "diff": "[bumpversion]\n-current_version = 0.4.4\n+current_version = 0.4.5\ncommit = False\ntag = False\n" }, { "change_type": "MODIFY", "old_path": "dev/local/setup.cfg", "new_path": "dev/loca...
Python
MIT License
cmu-delphi/delphi-epidata
chore: release delphi-epidata 0.4.5
123,853
21.01.2023 19:30:09
18,000
316c882209cd7875a01b69abc012cd253d0da0e8
Create a publications page for storing all CTIS publications
[ { "change_type": "MODIFY", "old_path": "docs/symptom-survey/end-of-survey.md", "new_path": "docs/symptom-survey/end-of-survey.md", "diff": "---\ntitle: End of CTIS Data Collection\nparent: COVID-19 Trends and Impact Survey\n-nav_order: 10\n+nav_order: 11\n---\n# End of CTIS Data Collection\n" }, ...
Python
MIT License
cmu-delphi/delphi-epidata
Create a publications page for storing all CTIS publications
123,849
25.01.2023 13:12:46
28,800
d6b653aee7ea68410e0ae003228c38b05ca0fed9
Update src/acquisition/covidcast/csv_importer.py Fix mixed quotes
[ { "change_type": "MODIFY", "old_path": "src/acquisition/covidcast/csv_importer.py", "new_path": "src/acquisition/covidcast/csv_importer.py", "diff": "@@ -19,7 +19,7 @@ from delphi.epidata.acquisition.covidcast.database import CovidcastRow\nfrom delphi.epidata.acquisition.covidcast.logger import get_...
Python
MIT License
cmu-delphi/delphi-epidata
Update src/acquisition/covidcast/csv_importer.py Fix mixed quotes Co-authored-by: Katie Mazaitis <krivard@cs.cmu.edu>
123,853
06.07.2020 19:16:15
0
4050979ff2b954976406fca7dd9251e2474b2718
Require documentation of missingness in source template
[ { "change_type": "MODIFY", "old_path": "docs/api/covidcast-signals/_source-template.md", "new_path": "docs/api/covidcast-signals/_source-template.md", "diff": "@@ -62,6 +62,16 @@ geographic coverage, limits in its interpretation (symptoms in a survey aren't\nalways caused by COVID, our healthcare pa...
Python
MIT License
cmu-delphi/delphi-epidata
Require documentation of missingness in source template
123,849
07.10.2022 15:31:46
25,200
694479a4e2747fbfbe4c7bfaf90a99972f077a59
Server: update test_db to use CovidcastRow
[ { "change_type": "MODIFY", "old_path": "integrations/acquisition/covidcast/test_db.py", "new_path": "integrations/acquisition/covidcast/test_db.py", "diff": "-import unittest\n-\nfrom delphi_utils import Nans\n-from delphi.epidata.acquisition.covidcast.database import Database, CovidcastRow, DBLoadS...
Python
MIT License
cmu-delphi/delphi-epidata
Server: update test_db to use CovidcastRow
123,849
07.10.2022 15:32:06
25,200
30dd70c7047238f77138192cccc2640c4e1f0f39
Server: update test_delete_batch to use CovidcastRow
[ { "change_type": "MODIFY", "old_path": "integrations/acquisition/covidcast/delete_batch.csv", "new_path": "integrations/acquisition/covidcast/delete_batch.csv", "diff": "geo_id,value,stderr,sample_size,issue,time_value,geo_type,signal,source\n-d_nonlatest,0,0,0,1,0,geo,sig,src\n-d_latest, 0,0,0,3,0,...
Python
MIT License
cmu-delphi/delphi-epidata
Server: update test_delete_batch to use CovidcastRow
123,849
07.10.2022 15:32:20
25,200
45e48ba7050976f0d5522ca486ceff6bd11f74eb
Server: update test_delphi_epidata to use CovidcastRow
[ { "change_type": "MODIFY", "old_path": "integrations/client/test_delphi_epidata.py", "new_path": "integrations/client/test_delphi_epidata.py", "diff": "\"\"\"Integration tests for delphi_epidata.py.\"\"\"\n# standard library\n-import unittest\nimport time\n-from unittest.mock import patch, MagicMock...
Python
MIT License
cmu-delphi/delphi-epidata
Server: update test_delphi_epidata to use CovidcastRow
123,849
07.10.2022 15:32:32
25,200
60425248801802763c6811d8fc5fc905ba25327d
Server: update test_covidcast_endpoints to use CovidcastRow
[ { "change_type": "MODIFY", "old_path": "integrations/server/test_covidcast_endpoints.py", "new_path": "integrations/server/test_covidcast_endpoints.py", "diff": "\"\"\"Integration tests for the custom `covidcast/*` endpoints.\"\"\"\n# standard library\n-from typing import Iterable, Dict, Any\n+from ...
Python
MIT License
cmu-delphi/delphi-epidata
Server: update test_covidcast_endpoints to use CovidcastRow
123,849
07.10.2022 15:32:40
25,200
fca788b530f16400ef9e0f80cf5440d2be8def9a
Server: update test_covidcast to use CovidcastRow
[ { "change_type": "MODIFY", "old_path": "integrations/server/test_covidcast.py", "new_path": "integrations/server/test_covidcast.py", "diff": "\"\"\"Integration tests for the `covidcast` endpoint.\"\"\"\n# standard library\n-import json\n+from typing import Callable\nimport unittest\n# third party\n@...
Python
MIT License
cmu-delphi/delphi-epidata
Server: update test_covidcast to use CovidcastRow
123,849
07.10.2022 15:33:14
25,200
79e664b823490f45ba90071772148d48b1f4a88d
Server: update test_utils to use CovidcastRow
[ { "change_type": "MODIFY", "old_path": "src/acquisition/covidcast/test_utils.py", "new_path": "src/acquisition/covidcast/test_utils.py", "diff": "+from typing import Sequence\nimport unittest\nfrom delphi_utils import Nans\n-from delphi.epidata.acquisition.covidcast.database import Database, Covidca...
Python
MIT License
cmu-delphi/delphi-epidata
Server: update test_utils to use CovidcastRow
123,849
07.10.2022 15:50:17
25,200
8ea401892b93a7b41fe9472bc24d6a3d5e361787
Server: update TimePair to auto-sort tuples
[ { "change_type": "MODIFY", "old_path": "src/server/_params.py", "new_path": "src/server/_params.py", "diff": "@@ -111,6 +111,10 @@ class TimeSet:\ntime_type: str\ntime_values: Union[bool, TimeValues]\n+ def __post_init__(self):\n+ if isinstance(self.time_values, list):\n+ self.time_values = [(min(ti...
Python
MIT License
cmu-delphi/delphi-epidata
Server: update TimePair to auto-sort tuples
123,849
07.10.2022 16:02:09
25,200
5400ece14d6a6b4f88f730973e6dcfe199f1f97a
Server: minor model.py data_source_by_id name update
[ { "change_type": "MODIFY", "old_path": "src/server/endpoints/covidcast_utils/model.py", "new_path": "src/server/endpoints/covidcast_utils/model.py", "diff": "@@ -202,7 +202,7 @@ def _load_data_sources():\ndata_sources, data_sources_df = _load_data_sources()\n-data_source_by_id = {d.source: d for d i...
Python
MIT License
cmu-delphi/delphi-epidata
Server: minor model.py data_source_by_id name update
123,849
30.11.2022 17:03:40
28,800
01b225e99055cafe67694d5e417fb72342e10ae4
Server: update csv issue none handling
[ { "change_type": "MODIFY", "old_path": "src/server/endpoints/covidcast.py", "new_path": "src/server/endpoints/covidcast.py", "diff": "@@ -328,7 +328,7 @@ def handle_export():\n\"geo_value\": row[\"geo_value\"],\n\"signal\": row[\"signal\"],\n\"time_value\": time_value_to_iso(row[\"time_value\"]) if ...
Python
MIT License
cmu-delphi/delphi-epidata
Server: update csv issue none handling
123,849
04.11.2022 16:57:57
25,200
7be40fa771cac6c1f3df6a195040782b19278f6d
Server: add type hints to _query
[ { "change_type": "MODIFY", "old_path": "src/server/_query.py", "new_path": "src/server/_query.py", "diff": "@@ -9,8 +9,9 @@ from typing import (\nSequence,\nTuple,\nUnion,\n- cast\n+ cast,\n)\n+from flask import Response\nfrom flask import request\nfrom sqlalchemy import text\n@@ -54,7 +55,7 @@ def ...
Python
MIT License
cmu-delphi/delphi-epidata
Server: add type hints to _query
123,849
11.10.2022 14:46:48
25,200
91427cd5e26020dc51f101ab845b491b10f543a6
Acquisition: update test_csv_uploading to remove Pandas warning
[ { "change_type": "MODIFY", "old_path": "integrations/acquisition/covidcast/test_csv_uploading.py", "new_path": "integrations/acquisition/covidcast/test_csv_uploading.py", "diff": "@@ -213,8 +213,8 @@ select value_updated_timestamp from epimetric_latest''')\n\"time_value\": [20200419],\n\"signal\": [...
Python
MIT License
cmu-delphi/delphi-epidata
Acquisition: update test_csv_uploading to remove Pandas warning
123,849
05.12.2022 12:31:48
28,800
c101a3c31194289fdfc1ffd32bf47969d7445929
Server: add PANDAS_DTYPES to model.py
[ { "change_type": "MODIFY", "old_path": "src/server/endpoints/covidcast_utils/model.py", "new_path": "src/server/endpoints/covidcast_utils/model.py", "diff": "@@ -9,6 +9,28 @@ import numpy as np\nfrom ..._params import SourceSignalSet\n+PANDAS_DTYPES = {\n+ \"source\": str,\n+ \"signal\": str,\n+ \"t...
Python
MIT License
cmu-delphi/delphi-epidata
Server: add PANDAS_DTYPES to model.py
123,849
05.12.2022 13:11:40
28,800
7268fc024d4beeea19b764b4cba0e7040c0ba86b
Acquisition: update database.py to use CovidcastRow
[ { "change_type": "MODIFY", "old_path": "src/acquisition/covidcast/database.py", "new_path": "src/acquisition/covidcast/database.py", "diff": "@@ -10,59 +10,13 @@ from typing import List\n# third party\nimport json\n+from typing import List\nimport mysql.connector\n# first party\nimport delphi.operat...
Python
MIT License
cmu-delphi/delphi-epidata
Acquisition: update database.py to use CovidcastRow
123,849
21.01.2023 05:35:18
28,800
4178862b21b366b4864d7b7976a3d41faa47f9a8
Acquisition: update csv_importer to use CovidcastRow
[ { "change_type": "MODIFY", "old_path": "src/acquisition/covidcast/csv_importer.py", "new_path": "src/acquisition/covidcast/csv_importer.py", "diff": "@@ -398,9 +398,8 @@ class CsvImporter:\ndetails.issue,\ndetails.lag,\n# These four fields are unused by database acquisition\n- # TODO: These will be ...
Python
MIT License
cmu-delphi/delphi-epidata
Acquisition: update csv_importer to use CovidcastRow
123,853
07.02.2023 12:40:26
18,000
1d2cef087f1844ac014f44f5ce7857a906b77779
Add a new publication
[ { "change_type": "MODIFY", "old_path": "docs/symptom-survey/publications.md", "new_path": "docs/symptom-survey/publications.md", "diff": "@@ -24,6 +24,10 @@ Pandemic\"](https://www.pnas.org/topic/548) in *PNAS*:\nOther research publications using the survey data include:\n+- Rebecca L. Weintraub et ...
Python
MIT License
cmu-delphi/delphi-epidata
Add a new publication
123,853
07.02.2023 12:49:27
18,000
a08d640a8b75222ba0de753320939a4efe08e06a
Add blog posts and reports as well
[ { "change_type": "MODIFY", "old_path": "docs/symptom-survey/publications.md", "new_path": "docs/symptom-survey/publications.md", "diff": "@@ -22,7 +22,9 @@ Pandemic\"](https://www.pnas.org/topic/548) in *PNAS*:\nvaccination](https://doi.org/10.1073/pnas.2111454118). *Proceedings of the\nNational Aca...
Python
MIT License
cmu-delphi/delphi-epidata
Add blog posts and reports as well
46,056
02.01.2017 19:54:48
-3,600
dfff3af67a1e4fe7622b900f8fb4778e50091b3e
Corrected a comment about task health status.
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -1685,9 +1685,8 @@ message TaskStatus {\n// to a valid RFC-4122 UUID if using the HTTP API.\noptional bytes uuid = 11;\n- // Describes whether the task has been determined to be h...
C++
Apache License 2.0
apache/mesos
Corrected a comment about task health status.
46,111
03.01.2017 10:23:33
28,800
5e2d129623fe47fffd95dc77a2eb75fb8dccec13
Populated `recovered_agents` field in the `GetAgents` response. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -2316,6 +2316,10 @@ mesos::master::Response::GetAgents Master::Http::_getAgents() const\nagent->CopyFrom(protobuf::master::event::createAgentResponse(*slave));\n}\n+ foreachvalue (const Slave...
C++
Apache License 2.0
apache/mesos
Populated `recovered_agents` field in the `GetAgents` response. Review: https://reviews.apache.org/r/52638/
46,111
03.01.2017 10:23:47
28,800
ed8e9b1793b385978df3a010ace4a130dfafaa94
Populated `recovered_slaves` in the `/state` and `/slaves` responses. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -150,6 +150,15 @@ static void json(JSON::ObjectWriter* writer, const MasterInfo& info)\nwriter->field(\"hostname\", info.hostname());\n}\n+\n+static void json(JSON::ObjectWriter* writer, cons...
C++
Apache License 2.0
apache/mesos
Populated `recovered_slaves` in the `/state` and `/slaves` responses. Review: https://reviews.apache.org/r/52765/
46,111
03.01.2017 10:24:11
28,800
c499ca75e3a40b25386d346d1d98f93531b352fc
Added test to validate info about recovering agents. These tests validate that the `GetAgents` call on the v1 Operator API and the old `/slaves and `/state` endpoints contain information about recovering agents. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -1467,6 +1467,108 @@ TEST_P(MasterAPITest, SubscribeAgentEvents)\n}\n+// This test verifies that recovered but yet to reregister agents are returned\n+// in `recovered_agents` field o...
C++
Apache License 2.0
apache/mesos
Added test to validate info about recovering agents. These tests validate that the `GetAgents` call on the v1 Operator API and the old `/slaves and `/state` endpoints contain information about recovering agents. Review: https://reviews.apache.org/r/52639/
46,111
03.01.2017 10:28:41
28,800
8d821d1d0446d9725be32504c6cc20c4a9ab867e
Reused json helper for `SlaveInfo`. This change reuses the helper used for modelling `SlaveInfo` in the `/slaves` endpoint. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -349,9 +349,9 @@ static void json(JSON::ObjectWriter* writer, const Summary<Slave>& summary)\n{\nconst Slave& slave = summary;\n- writer->field(\"id\", slave.id.value());\n+ json(writer, slav...
C++
Apache License 2.0
apache/mesos
Reused json helper for `SlaveInfo`. This change reuses the helper used for modelling `SlaveInfo` in the `/slaves` endpoint. Review: https://reviews.apache.org/r/54732/
46,111
03.01.2017 10:30:14
28,800
f89f28724f5837ff414dc6cc84e1afb63f3306e5
Updated `/slaves.md` doc. Review:
[ { "change_type": "MODIFY", "old_path": "docs/endpoints/master/slaves.md", "new_path": "docs/endpoints/master/slaves.md", "diff": "@@ -9,7 +9,7 @@ layout: documentation\n> /master/slaves\n### TL;DR; ###\n-Information about registered agents.\n+Information about agents.\n### DESCRIPTION ###\nReturns 2...
C++
Apache License 2.0
apache/mesos
Updated `/slaves.md` doc. Review: https://reviews.apache.org/r/53344/
46,068
05.01.2017 10:43:02
18,000
be127e6eca1312bf8c2b039646f6909fa42cd342
Fixed memory leak in implementation of Future<T>::after(). Removes a reference counted pointer that futures kept to themselves when using the method `Future<T>::after()`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/future.hpp", "new_path": "3rdparty/libprocess/include/process/future.hpp", "diff": "@@ -1334,7 +1334,7 @@ void expired(\nconst lambda::function<Future<T>(const Future<T>&)>& f,\nconst std::shared_ptr<Latch>& latch,\nconst st...
C++
Apache License 2.0
apache/mesos
Fixed memory leak in implementation of Future<T>::after(). Removes a reference counted pointer that futures kept to themselves when using the method `Future<T>::after()`. Review: https://reviews.apache.org/r/53299/
46,062
22.12.2016 20:57:59
18,000
de1ccbd9aed6de8846afbebbfb5b3bae4bd572ed
CMake: renamed `stout_tests` to `stout-tests` to match autotools. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/cmake/StoutTestsConfigure.cmake", "new_path": "3rdparty/stout/cmake/StoutTestsConfigure.cmake", "diff": "# having to also export the variables for test-only dependencies.\nset(\n- STOUT_TESTS_TARGET stout_tests\n+ STOUT_TESTS_TARGET stout-tests\...
C++
Apache License 2.0
apache/mesos
CMake: renamed `stout_tests` to `stout-tests` to match autotools. Review: https://reviews.apache.org/r/55004
46,062
22.12.2016 20:58:13
18,000
9cfb28537679cd26fb584932466c0d5f51ac2a21
CMake: renamed `process_tests` to `libprocess-tests` to match autotools. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/cmake/ProcessTestsConfigure.cmake", "new_path": "3rdparty/libprocess/cmake/ProcessTestsConfigure.cmake", "diff": "include(StoutTestsConfigure)\nset(\n- PROCESS_TESTS_TARGET process_tests\n+ PROCESS_TESTS_TARGET libprocess-tests\nCACHE STRIN...
C++
Apache License 2.0
apache/mesos
CMake: renamed `process_tests` to `libprocess-tests` to match autotools. Review: https://reviews.apache.org/r/55005
46,062
22.12.2016 21:06:20
18,000
344080db408c21ec9a05f951548919037855a4a5
CMake: renamed test binaries to match autotools. Currently CMake generates test binaries named `stout_tests`, `process_tests` (underscores), and `mesos-tests` (dash). We should simply follow the naming from autotools and call them `stout-tests`, `libprocess-tests`, and `mesos-tests`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/CMakeLists.txt", "new_path": "src/tests/CMakeLists.txt", "diff": "@@ -229,7 +229,7 @@ include_directories(${MESOS_TESTS_INCLUDE_DIRS})\n######################################################################\nlink_directories(${MESOS_TESTS_LIB_DIRS})\...
C++
Apache License 2.0
apache/mesos
CMake: renamed test binaries to match autotools. Currently CMake generates test binaries named `stout_tests`, `process_tests` (underscores), and `mesos-tests` (dash). We should simply follow the naming from autotools and call them `stout-tests`, `libprocess-tests`, and `mesos-tests`. Review: https://reviews.apache.o...
46,062
06.01.2017 23:57:40
28,800
9942fa7749aaee6187b9f565511ed1fdd1c7c26c
Added a default move constructor for `Try`.
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/try.hpp", "new_path": "3rdparty/stout/include/stout/try.hpp", "diff": "@@ -58,7 +58,10 @@ public:\n// We don't need to implement these because we are leveraging\n// Option<T>.\nTry(const Try& that) = default;\n+ Try(Try&& that) = d...
C++
Apache License 2.0
apache/mesos
Added a default move constructor for `Try`.
46,076
17.12.2016 13:32:11
28,800
63fe4b0362902f00773b1e5655a566a95e29267b
Used process::io::BUFFERED_READ_SIZE instead of constant. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "new_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "diff": "@@ -1111,7 +1111,7 @@ Future<Nothing> IOSwitchboardServerProcess::run()\nFuture<Nothing> stdoutRedirect = process::io::redirect(\nstdout...
C++
Apache License 2.0
apache/mesos
Used process::io::BUFFERED_READ_SIZE instead of constant. Review: https://reviews.apache.org/r/54838
46,076
04.12.2016 18:42:58
28,800
bbb4058d60b50b54bcc626c25285c993ae4d8a3e
Introduced ControlFlow for process::loop. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/loop.hpp", "new_path": "3rdparty/libprocess/include/process/loop.hpp", "diff": "@@ -91,21 +91,48 @@ namespace process {\n// And now what this looks like using `loop`:\n//\n// loop(pid,\n-// []() { return iterate(); },\n+// [...
C++
Apache License 2.0
apache/mesos
Introduced ControlFlow for process::loop. Review: https://reviews.apache.org/r/54358
46,076
17.12.2016 13:33:15
28,800
ab2565c18dfac57440d6d296eff814a0076cdc8c
Updated Mesos process::loop uses with process::ControlFlow. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/recordio.hpp", "new_path": "src/common/recordio.hpp", "diff": "@@ -119,10 +119,11 @@ process::Future<Nothing> transform(\n[=]() {\nreturn reader->read();\n},\n- [=](const Result<T>& record) mutable -> process::Future<bool> {\n+ [=](const Result<T>& ...
C++
Apache License 2.0
apache/mesos
Updated Mesos process::loop uses with process::ControlFlow. Review: https://reviews.apache.org/r/54839
46,076
17.12.2016 13:29:27
28,800
998444928b9e5c46403af9a6c38fc3d05b660539
Used process::loop to avoid stack overflow due to recursion. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/http.cpp", "new_path": "3rdparty/libprocess/src/http.cpp", "diff": "@@ -1396,8 +1396,10 @@ namespace internal {\nFuture<Nothing> send(network::Socket socket, Encoder* encoder)\n{\n- size_t* size = new size_t();\n- return [=]() {\n+ size...
C++
Apache License 2.0
apache/mesos
Used process::loop to avoid stack overflow due to recursion. Review: https://reviews.apache.org/r/54840
46,076
05.12.2016 10:48:56
28,800
2d28c198a5c09308825b2771483b70ac42839d16
Used `loop` in implementation of io::read and io::write. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/io.cpp", "new_path": "3rdparty/libprocess/src/io.cpp", "diff": "@@ -42,132 +42,114 @@ enum ReadFlags\n};\n-void read(\n- int fd,\n- void* data,\n- size_t size,\n- ReadFlags flags,\n- const std::shared_ptr<Promise<size_t>>& promise,\n- c...
C++
Apache License 2.0
apache/mesos
Used `loop` in implementation of io::read and io::write. Review: https://reviews.apache.org/r/54841
46,181
09.01.2017 12:17:44
28,800
c61227383179ccaf22c5b58376aa3b4713ffe38a
Improved comments in agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -1155,9 +1155,10 @@ void Slave::registered(\nVLOG(1) << \"Checkpointing SlaveInfo to '\" << path << \"'\";\nCHECK_SOME(state::checkpoint(path, info));\n- // If we don't get a ping from the ma...
C++
Apache License 2.0
apache/mesos
Improved comments in agent. Review: https://reviews.apache.org/r/55300/
46,181
09.01.2017 12:17:59
28,800
4cab7355c2a19848db0bc94151afc0c7d48f9fe9
Improved OneWayPartitionTest.MasterToSlave. Fix theoretical test flakiness (unlikely to be a problem in practice), add more test expections, and cleanup code. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/partition_tests.cpp", "new_path": "src/tests/partition_tests.cpp", "diff": "@@ -2487,8 +2487,8 @@ TEST_F(PartitionTest, FailHealthChecksTwice)\nclass OneWayPartitionTest : public MesosTest {};\n-// This test verifies that if master --> slave socket c...
C++
Apache License 2.0
apache/mesos
Improved OneWayPartitionTest.MasterToSlave. Fix theoretical test flakiness (unlikely to be a problem in practice), add more test expections, and cleanup code. Review: https://reviews.apache.org/r/55302/
46,181
09.01.2017 12:18:05
28,800
5ffef90282d699bdb377b375ada8a2b2cc731d30
Cleaned up two test cases slightly. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/container_logger_tests.cpp", "new_path": "src/tests/container_logger_tests.cpp", "diff": "@@ -519,7 +519,6 @@ TEST_F(ContainerLoggerTest, LOGROTATE_ModuleFDOwnership)\nASSERT_SOME(slave);\nAWAIT_READY(slaveRegisteredMessage);\n- SlaveID slaveId = sla...
C++
Apache License 2.0
apache/mesos
Cleaned up two test cases slightly. Review: https://reviews.apache.org/r/55303/
46,181
09.01.2017 12:18:12
28,800
e7442ef877f15f636cc3fdb64334badf096d5d85
Cleaned up `using` statements. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -76,10 +76,9 @@ using mesos::internal::master::allocator::MesosAllocatorProcess;\nusing mesos::internal::protobuf::createLabel;\n+using mesos::internal::slave::Containerizer;\nu...
C++
Apache License 2.0
apache/mesos
Cleaned up `using` statements. Review: https://reviews.apache.org/r/55304/
46,181
09.01.2017 12:18:19
28,800
a72cb3386c17a82dd85ef6fc3b8164101224da1e
Fixed quoting in agent error message. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -5126,8 +5126,8 @@ void Slave::registerExecutorTimeout(\n// Ignore the registration timeout.\nbreak;\ncase Executor::REGISTERING: {\n- LOG(INFO) << \"Terminating executor '\" << *executor\n- ...
C++
Apache License 2.0
apache/mesos
Fixed quoting in agent error message. Review: https://reviews.apache.org/r/55305/
46,181
09.01.2017 12:18:26
28,800
0817c4dce8453e1275a590e3e122aa7d6b4f2350
Cleaned up slave recovery tests. Make them more consistent with test style elsewhere. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_recovery_tests.cpp", "new_path": "src/tests/slave_recovery_tests.cpp", "diff": "@@ -187,12 +187,11 @@ TYPED_TEST(SlaveRecoveryTest, RecoverSlaveState)\nthis->StartSlave(detector.get(), containerizer.get(), flags);\nASSERT_SOME(slave);\n- MockSc...
C++
Apache License 2.0
apache/mesos
Cleaned up slave recovery tests. Make them more consistent with test style elsewhere. Review: https://reviews.apache.org/r/55306/
46,181
09.01.2017 12:18:45
28,800
51b66f5b691387bd29ac4c515af15ab94557742b
Cleaned up master logging code slightly. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -6106,8 +6106,7 @@ void Master::_markUnreachable(\nslaves.markingUnreachable.erase(slave->info.id());\nif (registrarResult.isFailed()) {\n- LOG(FATAL) << \"Failed to mark agent \" << slav...
C++
Apache License 2.0
apache/mesos
Cleaned up master logging code slightly. Review: https://reviews.apache.org/r/55354/
46,066
09.01.2017 15:39:21
28,800
b492d4458c97b5e025e96ca229bc87a6e2500b40
Removed unsupported `friend` declaration. The `friend` class declaration of nested, templated classes will raise an error when compiling with Clang. This is a temporary fix, resolved by making the constructor of `ControlFlow` public. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/loop.hpp", "new_path": "3rdparty/libprocess/include/process/loop.hpp", "diff": "@@ -202,6 +202,8 @@ public:\nT t;\n};\n+ ControlFlow(Statement s, Option<T> t) : s(s), t(std::move(t)) {}\n+\nStatement statement() const { retu...
C++
Apache License 2.0
apache/mesos
Removed unsupported `friend` declaration. The `friend` class declaration of nested, templated classes will raise an error when compiling with Clang. This is a temporary fix, resolved by making the constructor of `ControlFlow` public. Review: https://reviews.apache.org/r/55339/
46,128
09.01.2017 16:06:11
28,800
87d7230171ec7a3ad2d232fbffc5bfc94f9cd68c
Fixed an FD leak in the IO switchboard. Previously, the IO switchboard could leak file descriptors because it held a reference to its server socket within the socket's accept loop. This patch explicitly discards the future containing this reference to eliminate the leak. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "new_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "diff": "@@ -984,6 +984,7 @@ private:\nbool waitForConnection;\nOption<Duration> heartbeatInterval;\nbool inputConnected;\n+ Future<unix::Socket>...
C++
Apache License 2.0
apache/mesos
Fixed an FD leak in the IO switchboard. Previously, the IO switchboard could leak file descriptors because it held a reference to its server socket within the socket's accept loop. This patch explicitly discards the future containing this reference to eliminate the leak. Review: https://reviews.apache.org/r/55355/
46,181
09.01.2017 14:24:18
28,800
bf6cd2eee7383156b80fe5c7c168bdad66fd0dea
Cleaned up `std::string` usage in stout. Avoided redundant initialization to empty string. Used `char` overloads instead for single-character string literals. Spotted with `clang-tidy`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/flags/flags.hpp", "new_path": "3rdparty/stout/include/stout/flags/flags.hpp", "diff": "@@ -597,7 +597,7 @@ inline Try<Warnings> FlagsBase::load(\nstd::string name;\nOption<std::string> value = None();\n- size_t eq = arg.find_first_...
C++
Apache License 2.0
apache/mesos
Cleaned up `std::string` usage in stout. - Avoided redundant initialization to empty string. - Used `char` overloads instead for single-character string literals. Spotted with `clang-tidy`. Review: https://reviews.apache.org/r/55219/
46,181
09.01.2017 14:24:20
28,800
9fcb719e4525da39aba9eccf497711f35a7885fc
Cleaned up `std::string` usage in libprocess. Avoided redundant initialization to empty string. Used `char` overloads instead for single-character string literals. Spotted with `clang-tidy`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/http.cpp", "new_path": "3rdparty/libprocess/src/http.cpp", "diff": "@@ -199,7 +199,7 @@ Try<URL> URL::parse(const string& urlString)\nconst string scheme = strings::lower(urlString.substr(0, schemePos));\nconst string urlPath = urlStrin...
C++
Apache License 2.0
apache/mesos
Cleaned up `std::string` usage in libprocess. - Avoided redundant initialization to empty string. - Used `char` overloads instead for single-character string literals. Spotted with `clang-tidy`. Review: https://reviews.apache.org/r/55226/
46,181
09.01.2017 14:24:22
28,800
c0aee8cc10b1d1f4b2db5ff12b771372fdd5b1f3
Cleaned up `std::string` usage in mesos. Avoided redundant initialization to empty string. Used `char` overloads instead for single-character string literals. Spotted with `clang-tidy`. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources.cpp", "new_path": "src/common/resources.cpp", "diff": "@@ -661,12 +661,12 @@ Try<vector<Resource>> Resources::fromSimpleString(\nstring name;\nstring role;\n- size_t openParen = pair[0].find(\"(\");\n+ size_t openParen = pair[0].find('(');...
C++
Apache License 2.0
apache/mesos
Cleaned up `std::string` usage in mesos. - Avoided redundant initialization to empty string. - Used `char` overloads instead for single-character string literals. Spotted with `clang-tidy`. Review: https://reviews.apache.org/r/55220/
46,181
09.01.2017 14:24:27
28,800
0f6425b1f062f05ddaa83e5b8996c0bc083c87f3
Avoided unnecessary copies in mesos. Spotted with `clang-tidy`. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/http.cpp", "new_path": "src/common/http.cpp", "diff": "@@ -144,7 +144,7 @@ bool requestStreaming(ContentType contentType)\nstatic JSON::Value value(\nconst string& name,\nconst Value::Type& type,\n- Resources resources)\n+ const Resources& resources...
C++
Apache License 2.0
apache/mesos
Avoided unnecessary copies in mesos. Spotted with `clang-tidy`. Review: https://reviews.apache.org/r/55222/
46,181
09.01.2017 14:24:34
28,800
36e85232e74a6ac9301dab7bf21b40ad4d23a8c4
Removed unused namespace alias declarations in libprocess. Spotted with `clang-tidy`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/process.cpp", "new_path": "3rdparty/libprocess/src/process.cpp", "diff": "#include \"gate.hpp\"\n#include \"process_reference.hpp\"\n-namespace firewall = process::firewall;\n-namespace metrics = process::metrics;\n-\nusing process::wai...
C++
Apache License 2.0
apache/mesos
Removed unused namespace alias declarations in libprocess. Spotted with `clang-tidy`. Review: https://reviews.apache.org/r/55223/
46,181
09.01.2017 14:24:37
28,800
c4667d6f1b49d30089e6cb5874b6737a9bd3f044
Removed unused namespace alias declarations in mesos. Spotted with `clang-tidy`. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/executor.cpp", "new_path": "src/launcher/executor.cpp", "diff": "#include \"internal/devolve.hpp\"\n#include \"internal/evolve.hpp\"\n-#ifdef __linux__\n-#include \"linux/fs.hpp\"\n-#endif\n-\n#include \"executor/v0_v1executor.hpp\"\n#include \"he...
C++
Apache License 2.0
apache/mesos
Removed unused namespace alias declarations in mesos. Spotted with `clang-tidy`. Review: https://reviews.apache.org/r/55224/
46,181
09.01.2017 14:24:25
28,800
ab3f77a27e7d8707cf8b0c11f7ddd5371321fcc3
Avoided needless copies in log tests + some minor code cleanup. Spotted with `clang-tidy`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/log_tests.cpp", "new_path": "src/tests/log_tests.cpp", "diff": "@@ -338,49 +338,44 @@ TEST_F(ReplicaTest, Promise)\nReplica replica(path);\nPromiseRequest request;\n- PromiseResponse response;\n- Future<PromiseResponse> future;\n-\nrequest.set_propos...
C++
Apache License 2.0
apache/mesos
Avoided needless copies in log tests + some minor code cleanup. Spotted with `clang-tidy`. Review: https://reviews.apache.org/r/55221/
46,077
10.01.2017 13:05:30
-28,800
97279cfa7870514b6a8bd2b268f8a54a27a8214b
Added Haosdent Huang to the list of committers.
[ { "change_type": "MODIFY", "old_path": "docs/committers.md", "new_path": "docs/committers.md", "diff": "@@ -250,6 +250,13 @@ We'd like to thank the following committers to the Apache Mesos project who have\n<td></td>\n<td>qianzhang@apache.org</td>\n</tr>\n+ <tr>\n+ <td>+8</td>\n+ <td>Haosdent Huang<...
C++
Apache License 2.0
apache/mesos
Added Haosdent Huang to the list of committers.
46,157
10.01.2017 15:32:05
-28,800
653fe55b3f2e6cd76567945dbbec4a84c03f13c2
Fixed indentation of a function argument in master.cpp. Fixed indentation of a function argument in master.cpp. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -3924,8 +3924,7 @@ void Master::_accept(\ndrop(framework,\noperation,\n\"Authorization of principal '\" + framework->info.principal() +\n- \"' to reserve resources failed: \" +\n- authori...
C++
Apache License 2.0
apache/mesos
Fixed indentation of a function argument in master.cpp. Fixed indentation of a function argument in master.cpp. Review: https://reviews.apache.org/r/54365/
46,159
10.01.2017 12:04:19
28,800
798fa681c36ccaab73e475b4cc80ca7953b439a3
Fixed a bug in URL::parse(). This method could mistake the host part for the scheme because of unsuitable use of find_first_of(). Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/http.cpp", "new_path": "3rdparty/libprocess/src/http.cpp", "diff": "@@ -191,7 +191,7 @@ Try<URL> URL::parse(const string& urlString)\n{\n// TODO(tnachen): Consider using C++11 regex support instead.\n- size_t schemePos = urlString.find_...
C++
Apache License 2.0
apache/mesos
Fixed a bug in URL::parse(). This method could mistake the host part for the scheme because of unsuitable use of find_first_of(). Review: https://reviews.apache.org/r/55177/
46,136
10.01.2017 13:08:03
28,800
3efcd33f440c7e56c137bfb7cd953ee35e4b3aa5
Fixed a bug in the default executor around not committing suicide. This bug is only observed when the task group contains a single task. The default executor was not committing suicide when this single task used to exit with a non-zero status code as per the default restart policy. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -653,28 +653,34 @@ protected:\nupdate(taskId, taskState, message, None());\n}\n- LOG(INFO) << \"Successfully waited for child container \" << containerId\n- << \" ...
C++
Apache License 2.0
apache/mesos
Fixed a bug in the default executor around not committing suicide. This bug is only observed when the task group contains a single task. The default executor was not committing suicide when this single task used to exit with a non-zero status code as per the default restart policy. Review: https://reviews.apache.org/...
46,062
10.01.2017 10:35:20
28,800
0bfc812ec14525e40e6b0d8e26a425fa8681e643
Used `jsonify` in `operator<<` for `JSON::*` to reduce duplicate code. The printing logic for `json.hpp` and `jsonify.hpp` are currently duplicated. We can reduce this duplication by leveraging `jsonify` for the implementation of `operator<<` for `JSON::*`. Since `JSON::Value`s are not generally used for printing, ther...
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/json.hpp", "new_path": "3rdparty/stout/include/stout/json.hpp", "diff": "#include <stout/check.hpp>\n#include <stout/foreach.hpp>\n+#include <stout/jsonify.hpp>\n#include <stout/numify.hpp>\n#include <stout/result.hpp>\n#include <s...
C++
Apache License 2.0
apache/mesos
Used `jsonify` in `operator<<` for `JSON::*` to reduce duplicate code. The printing logic for `json.hpp` and `jsonify.hpp` are currently duplicated. We can reduce this duplication by leveraging `jsonify` for the implementation of `operator<<` for `JSON::*`. Since `JSON::Value`s are not generally used for printing, the...
46,068
10.01.2017 10:35:43
28,800
bea98b9b9866b376bb77efff702ed989829c7205
Fixed wrong float serialization in JSON in locales different from C. Resolves an isse with the JSON serialization functions where floats would use the process active locale as a decimal separator instead of the JSON conformant period (`.`). Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/jsonify.hpp", "new_path": "3rdparty/stout/include/stout/jsonify.hpp", "diff": "#ifndef __STOUT_JSONIFY__\n#define __STOUT_JSONIFY__\n+#include <xlocale.h>\n+\n+#include <clocale>\n#include <cstddef>\n#include <functional>\n#include...
C++
Apache License 2.0
apache/mesos
Fixed wrong float serialization in JSON in locales different from C. Resolves an isse with the JSON serialization functions where floats would use the process active locale as a decimal separator instead of the JSON conformant period (`.`). Review: https://reviews.apache.org/r/52877/
46,076
07.01.2017 11:30:49
28,800
5deec145b443270ec0b359a8fa7afc44af75edd1
Future::after memory leak fix. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/future.hpp", "new_path": "3rdparty/libprocess/include/process/future.hpp", "diff": "@@ -1334,9 +1334,16 @@ void expired(\nconst lambda::function<Future<T>(const Future<T>&)>& f,\nconst std::shared_ptr<Latch>& latch,\nconst s...
C++
Apache License 2.0
apache/mesos
Future::after memory leak fix. Review: https://reviews.apache.org/r/55319
46,076
18.12.2016 17:10:11
28,800
613634b11d355abeef67573eec3aa78734181252
Used loop in Pipe::Reader::readAll. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/http.hpp", "new_path": "3rdparty/libprocess/include/process/http.hpp", "diff": "@@ -338,11 +338,6 @@ public:\nexplicit Reader(const std::shared_ptr<Data>& _data) : data(_data) {}\n- // Continuation for `readAll()`.\n- static...
C++
Apache License 2.0
apache/mesos
Used loop in Pipe::Reader::readAll. Review: https://reviews.apache.org/r/55316
46,062
10.01.2017 17:30:27
28,800
12dd3df5c96b51bc6bc8871b73aca7d53c14a67a
Removed unused peek function. This essentially reverts the introduction of \`peek\` function from We can certainly re-introduce it in the future, but as of now it has been sitting there for over a year and we have no uses of it. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/io.hpp", "new_path": "3rdparty/libprocess/include/process/io.hpp", "diff": "@@ -141,58 +141,6 @@ Future<Nothing> redirect(\nconst std::vector<lambda::function<void(const std::string&)>>& hooks = {});\n#endif // __WINDOWS__\n...
C++
Apache License 2.0
apache/mesos
Removed unused peek function. This essentially reverts the introduction of \`peek\` function from 0d87ec198b6f15d4e7025f82b7b9385175a10d4a. We can certainly re-introduce it in the future, but as of now it has been sitting there for over a year and we have no uses of it. Review: https://reviews.apache.org/r/54590/
46,062
10.01.2017 17:16:57
28,800
c4b89d870823944101193f2533822782bb757be3
Fix compilation error for `clang-3.5` type deduction error. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "new_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "diff": "@@ -1593,7 +1593,9 @@ Future<http::Response> IOSwitchboardServerProcess::attachContainerInput(\n}\n}\n})\n- .then(defer(self(), [=](cons...
C++
Apache License 2.0
apache/mesos
Fix compilation error for `clang-3.5` type deduction error. Review: https://reviews.apache.org/r/55400
46,129
11.01.2017 09:01:24
28,800
d09a6ebfc7a1c227e93e5a41baf76e8464020226
Fixed docker runtime isolator argv issue for nested container. For the nested container with docker runtime isolator, the `argv` that should be appended to entrypoint[0] or cmd[0] are neglected. This case refers to the 2nd row of the runtime isolator logic table (sh=0, value=0, argv=1). This patch addresses the issue. ...
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/docker/runtime.cpp", "new_path": "src/slave/containerizer/mesos/isolators/docker/runtime.cpp", "diff": "using std::list;\nusing std::string;\n+using google::protobuf::RepeatedPtrField;\n+\nusing process::Failure;\nusing ...
C++
Apache License 2.0
apache/mesos
Fixed docker runtime isolator argv issue for nested container. For the nested container with docker runtime isolator, the `argv` that should be appended to entrypoint[0] or cmd[0] are neglected. This case refers to the 2nd row of the runtime isolator logic table (sh=0, value=0, argv=1). This patch addresses the issue....
46,129
11.01.2017 09:01:29
28,800
af11ad3951b80389c26bec5ba99304004cb93dc7
Fixed appc runtime isolator argv issue for nested container. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/appc/runtime.cpp", "new_path": "src/slave/containerizer/mesos/isolators/appc/runtime.cpp", "diff": "using std::list;\nusing std::string;\n+using google::protobuf::RepeatedPtrField;\n+\nusing process::Failure;\nusing proc...
C++
Apache License 2.0
apache/mesos
Fixed appc runtime isolator argv issue for nested container. Review: https://reviews.apache.org/r/55413/
46,129
11.01.2017 09:01:32
28,800
0282c42875692e5be0fa3334062ae7f2029b0b11
Added nested container tests for docker runtime isolator. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/runtime_isolator_tests.cpp", "new_path": "src/tests/containerizer/runtime_isolator_tests.cpp", "diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n+#include <string>\n+#inc...
C++
Apache License 2.0
apache/mesos
Added nested container tests for docker runtime isolator. Review: https://reviews.apache.org/r/52612/
46,129
11.01.2017 09:01:35
28,800
f94d7acd9ccd8b5a971701f8bb824cf0ff496539
Changed mesos test helper createCommandInfo() using optional value. The `value` in protobuf `CommandInfo` is an option. We should allow `value` to be empty in mesos test helper createCommandInfo(). The use case is the empty value with arguments in runtime isolator scenario. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -503,11 +503,13 @@ inline TExecutorInfo createExecutorInfo(\ntemplate <typename TCommandInfo>\ninline TCommandInfo createCommandInfo(\n- const std::string& value,\n+ const Option<std::string>...
C++
Apache License 2.0
apache/mesos
Changed mesos test helper createCommandInfo() using optional value. The `value` in protobuf `CommandInfo` is an option. We should allow `value` to be empty in mesos test helper createCommandInfo(). The use case is the empty value with arguments in runtime isolator scenario. Review: https://reviews.apache.org/r/55419/
46,129
11.01.2017 09:01:39
28,800
5aa289ba119063d75781bc627ee7d2469a3ededb
Added unit tests for nested container neglected runtime argv. These are regression tests for This patch includes the tests for default image entrypoint or cmd with user defined arguments appended for nested container case. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/runtime_isolator_tests.cpp", "new_path": "src/tests/containerizer/runtime_isolator_tests.cpp", "diff": "@@ -430,6 +430,247 @@ TEST_F(DockerRuntimeIsolatorTest, ROOT_INTERNET_CURL_NestedSimpleCommand)\nEXPECT_TRUE(updateFinished->status(...
C++
Apache License 2.0
apache/mesos
Added unit tests for nested container neglected runtime argv. These are regression tests for MESOS-6852. This patch includes the tests for default image entrypoint or cmd with user defined arguments appended for nested container case. Review: https://reviews.apache.org/r/55420/
46,188
11.01.2017 09:27:46
28,800
83ed8a14fa488af9f4af9160319c44fb2080d175
Fixed some compile warnings.
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/runtime_isolator_tests.cpp", "new_path": "src/tests/containerizer/runtime_isolator_tests.cpp", "diff": "@@ -416,7 +416,7 @@ TEST_F(DockerRuntimeIsolatorTest, ROOT_INTERNET_CURL_NestedSimpleCommand)\nv1::createTaskGroupInfo({taskInfo})))...
C++
Apache License 2.0
apache/mesos
Fixed some compile warnings.
46,056
11.01.2017 23:26:25
-3,600
b35629be1f9179f6d0d30407e7627213eaf6bcdf
Temporarily disabled consistently failing tests.
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -4451,7 +4451,10 @@ INSTANTIATE_TEST_CASE_P(\n// as the entrypoint and attaches to its STDOUT via the attach output call.\n// It then verifies that any data streamed to the container ...
C++
Apache License 2.0
apache/mesos
Temporarily disabled consistently failing tests.
46,177
09.01.2017 17:25:26
28,800
c17ebde4c8aa181056cf6a0326374a195a903dda
Fixed spelling in a comment. Adds a missing "d" in all instances of "overriden".
[ { "change_type": "MODIFY", "old_path": "docs/logging.md", "new_path": "docs/logging.md", "diff": "@@ -124,7 +124,7 @@ setting the `--container_logger` Agent flag to\n[logrotate_stdout_options]\nsize [max_stdout_size]\n}</pre>\n- NOTE: The <code>size</code> option will be overriden by this module.\n+...
C++
Apache License 2.0
apache/mesos
Fixed spelling in a comment. Adds a missing "d" in all instances of "overriden".
46,177
10.01.2017 16:59:40
28,800
27cd5c7fe35029a7970da764901f1f4508728a5a
Windows: Added check for Admin privileges in build script. The Mesos agent in particular creates symlinks regularly. On Windows, symlink creation requires Administrator privileges, which means that the Mesos test suite must be run as an Administrator. The test suite will generally CHECK-fail otherwise.
[ { "change_type": "MODIFY", "old_path": "support/windows-build.bat", "new_path": "support/windows-build.bat", "diff": "@@ -80,6 +80,16 @@ REM Build everything else.\nmsbuild Mesos.sln /p:PreferredToolArchitecture=x64 /m\nif %errorlevel% neq 0 exit /b %errorlevel%\n+REM Due to how Mesos uses and creat...
C++
Apache License 2.0
apache/mesos
Windows: Added check for Admin privileges in build script. The Mesos agent in particular creates symlinks regularly. On Windows, symlink creation requires Administrator privileges, which means that the Mesos test suite must be run as an Administrator. The test suite will generally CHECK-fail otherwise.
46,177
10.01.2017 17:33:35
28,800
b97ed632b1c68aa6402946d3365edfef8bcec130
Ported apply-reviews.py script to Windows. This removes some of the shell-specific things this script was doing in favor of native Python, which works on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "support/apply-reviews.py", "new_path": "support/apply-reviews.py", "diff": "@@ -4,7 +4,9 @@ import atexit\nimport json\nimport linecache\nimport os\n+import platform\nimport re\n+import ssl\nimport subprocess\nimport sys\nimport urllib2\n@@ -111,52 +113,44 @@ ...
C++
Apache License 2.0
apache/mesos
Ported apply-reviews.py script to Windows. This removes some of the shell-specific things this script was doing in favor of native Python, which works on Windows. Review: https://reviews.apache.org/r/52461/
46,177
10.01.2017 17:34:11
28,800
0734785f6d01a63f8a16acb80187d82d185a2916
Ported ReviewBot script to Windows. Changes which script ReviewBot uses to apply reviews and what script ReviewBot runs if on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "support/verify_reviews.py", "new_path": "support/verify_reviews.py", "diff": "import atexit\nimport json\nimport os\n+import platform\nimport subprocess\nimport sys\nimport urllib\n@@ -76,7 +77,7 @@ def api(url, data=None):\ndef apply_review(review_id):\nprint...
C++
Apache License 2.0
apache/mesos
Ported ReviewBot script to Windows. Changes which script ReviewBot uses to apply reviews and what script ReviewBot runs if on Windows. Review: https://reviews.apache.org/r/52462/
46,139
12.01.2017 16:17:50
-3,600
67d33ba93a31678e356c092de350b39cd8fab83f
Fixed typos in `mesos/containerizer.cpp`. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -1011,7 +1011,7 @@ Future<bool> MesosContainerizerProcess::launch(\ncontainerInfo->CopyFrom(taskInfo->container());\nif (taskInfo->cont...
C++
Apache License 2.0
apache/mesos
Fixed typos in `mesos/containerizer.cpp`. Review: https://reviews.apache.org/r/55463/
46,092
12.01.2017 10:16:22
28,800
37f9903f60bbf35e3f5df9a5bd777fbd354c734a
Fixed Mesos to use the updated os::Stack abstraction. Review:
[ { "change_type": "MODIFY", "old_path": "src/linux/ns.hpp", "new_path": "src/linux/ns.hpp", "diff": "@@ -429,21 +429,21 @@ inline Try<pid_t> clone(\n// allocate the stack here in order to keep the call to os::clone\n// async signal safe, since otherwise it would be doing the dynamic\n// allocation it...
C++
Apache License 2.0
apache/mesos
Fixed Mesos to use the updated os::Stack abstraction. Review: https://reviews.apache.org/r/54996/
46,065
12.01.2017 10:56:56
28,800
0179f96e87ca9f471aa52a577e1b3a5df1a063cc
Add Thomas Maurice as a contributor. This closes
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: shankinson\nreviewboard_user: shankinson\n+- name: Thomas Maurice\n+ affiliations:\n+ - {organization: Criteo}\n+ emails:\n+ - thomas@maurice.fr\n+ - t.maurice@criteo.com\n+ rev...
C++
Apache License 2.0
apache/mesos
Add Thomas Maurice as a contributor. This closes #199
46,065
12.01.2017 10:57:21
28,800
6482a40102ff28ae6d36d59bcaaa0d2bf7093042
Fix inconsistency in the port_mapping.cpp documentation. This inversion between tx & rx can lead to confusions. This closes
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/network/port_mapping.cpp", "new_path": "src/slave/containerizer/mesos/isolators/network/port_mapping.cpp", "diff": "@@ -125,8 +125,8 @@ namespace slave {\nstatic const uint16_t MIN_EPHEMERAL_PORTS_SIZE = 16;\n// Linux tr...
C++
Apache License 2.0
apache/mesos
Fix inconsistency in the port_mapping.cpp documentation. This inversion between tx & rx can lead to confusions. This closes #198
46,177
12.01.2017 12:01:23
28,800
8cd5acd3c1d18fb705687ace30165211d087364c
Fixed apply-reviews.py on ASF CI machines. The ASF CI machines for non-Windows builds sometimes contain version of Python too old to support native SSL requests. This adds back the logic for using `wget` on non-Windows machines.
[ { "change_type": "MODIFY", "old_path": "support/apply-reviews.py", "new_path": "support/apply-reviews.py", "diff": "@@ -147,10 +147,30 @@ def ssl_create_default_context():\ndef fetch_patch():\n\"\"\"Fetches a patch from Review Board or GitHub.\"\"\"\n+ if platform.system() == 'Windows':\nr = urllib2...
C++
Apache License 2.0
apache/mesos
Fixed apply-reviews.py on ASF CI machines. The ASF CI machines for non-Windows builds sometimes contain version of Python too old to support native SSL requests. This adds back the logic for using `wget` on non-Windows machines.
46,177
12.01.2017 17:09:55
28,800
d82dc253bd730f4cde44b1eb1f3b2c22fb3dedfa
Windows: Fixed the locale guard in jsonify.hpp. Changing locales in Windows is mainly accomplished via `setlocale`, which takes a bit mask (with constants named slightly differently than in the POSIX headers) and a `char*`. This also adds a comment to the locale guard. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/jsonify.hpp", "new_path": "3rdparty/stout/include/stout/jsonify.hpp", "diff": "#ifndef __STOUT_JSONIFY__\n#define __STOUT_JSONIFY__\n+#ifndef __WINDOWS__\n#include <xlocale.h>\n+#endif // __WINDOWS__\n#include <clocale>\n#include <...
C++
Apache License 2.0
apache/mesos
Windows: Fixed the locale guard in jsonify.hpp. Changing locales in Windows is mainly accomplished via `setlocale`, which takes a bit mask (with constants named slightly differently than in the POSIX headers) and a `char*`. This also adds a comment to the locale guard. Review: https://reviews.apache.org/r/55435/
46,177
12.01.2017 17:13:39
28,800
a92b8ad8b48fb2d6771bee522e2705110591329d
Windows: Normalize `#endif` comments of `// !__WINDOWS__`. We had a few `#ifndef` blocks for Windows which were closed out by `#endif // !__WINDOWS__`, which has an extra negation symbol.
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -160,7 +160,7 @@ Try<MesosContainerizer*> MesosContainerizer::create(\nflags_.isolation = \"posix/cpu,posix/mem\";\n#else\nflags_.isola...
C++
Apache License 2.0
apache/mesos
Windows: Normalize `#endif` comments of `// !__WINDOWS__`. We had a few `#ifndef` blocks for Windows which were closed out by `#endif // !__WINDOWS__`, which has an extra negation symbol.
46,157
13.01.2017 14:46:39
28,800
d2360e6ffbfc7af8e007301b0e562c278ecc0e1c
Added a framework capabilities struct. Master, agent and allocator structs could use this stuct to easily deal with Framework Capabilities. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/protobuf_utils.hpp", "new_path": "src/common/protobuf_utils.hpp", "diff": "@@ -204,6 +204,49 @@ mesos::master::Event createAgentRemoved(const SlaveID& slaveId);\nnamespace framework {\n+struct Capabilities\n+{\n+ Capabilities() = default;\n+\n+ temp...
C++
Apache License 2.0
apache/mesos
Added a framework capabilities struct. Master, agent and allocator structs could use this stuct to easily deal with Framework Capabilities. Review: https://reviews.apache.org/r/55021/
46,157
13.01.2017 14:46:44
28,800
d66c367287dbd84def9268a6af961c81083f5bdc
Added Capabilities to Framework struct of Master and Agent. When Framework struct is constructed, Capabilities is initialized with capabilities in FrameworkInfo. Some of `frameworkHasCapability` are then retired in favor of checking boolean value in Capabilities. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -237,8 +237,7 @@ struct FullFrameworkWriter {\n// would make tooling simpler (only need to look for `roles`).\n// However, we opted to just mirror the protobuf akin to how\n// generic protobu...
C++
Apache License 2.0
apache/mesos
Added Capabilities to Framework struct of Master and Agent. When Framework struct is constructed, Capabilities is initialized with capabilities in FrameworkInfo. Some of `frameworkHasCapability` are then retired in favor of checking boolean value in Capabilities. Review: https://reviews.apache.org/r/55066/
46,157
13.01.2017 14:46:53
28,800
83b9be9b209512fe8e927b677110c2383728e0b4
Added Capabilities to Framework struct of Hierarchical allocator. Individual capabilities are collected into this struct and used in allocator. This is step toward multi-role support of allocator. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -47,6 +47,8 @@ using process::Future;\nusing process::Owned;\nusing process::Timeout;\n+using mesos::internal::protobuf::framework::Capabilitie...
C++
Apache License 2.0
apache/mesos
Added Capabilities to Framework struct of Hierarchical allocator. Individual capabilities are collected into this struct and used in allocator. This is step toward multi-role support of allocator. Review: https://reviews.apache.org/r/55068/
46,177
13.01.2017 12:20:46
28,800
4d427281d965b9eb676dd40bcea82703ca7fb0c6
Windows: Fixed build script to properly report exit code. This affects the build script only when run as non-Administrator. Batch was reporting the error code from the Administrator check, which is expected to fail on certain systems. The script should instead succeed if it reaches that point in the script.
[ { "change_type": "MODIFY", "old_path": "support/windows-build.bat", "new_path": "support/windows-build.bat", "diff": "@@ -87,7 +87,7 @@ REM See: https://technet.microsoft.com/en-us/library/bb490711.aspx\nnet session >nul 2>&1\nif %errorlevel% neq 0 (\necho Administrator permissions not detected. Ski...
C++
Apache License 2.0
apache/mesos
Windows: Fixed build script to properly report exit code. This affects the build script only when run as non-Administrator. Batch was reporting the error code from the Administrator check, which is expected to fail on certain systems. The script should instead succeed if it reaches that point in the script.
46,128
13.01.2017 15:47:57
28,800
5023e004030e6018ea64f6824c353ffe4165c907
Added new libprocess socket tests. This patch adds NetSocketTest.EOFBeforeRecv and NetSocketTest.EOFAfterRecv to verify that EOFs are reliably received whether or not there is a pending recv() request at the time the EOF is received. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/socket_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/socket_tests.cpp", "diff": "#include <gmock/gmock.h>\n-#include <process/gtest.hpp>\n#include <process/future.hpp>\n+#include <process/gtest.hpp>\n+#include <process/ht...
C++
Apache License 2.0
apache/mesos
Added new libprocess socket tests. This patch adds NetSocketTest.EOFBeforeRecv and NetSocketTest.EOFAfterRecv to verify that EOFs are reliably received whether or not there is a pending recv() request at the time the EOF is received. Review: https://reviews.apache.org/r/53803/
46,062
11.01.2017 14:54:23
28,800
8b8f4af3c4d70c3ffcb70092da0fb0cd636bbe9a
Renamed executable files from '_' to '-' in the `support` directory. Review:
[ { "change_type": "RENAME", "old_path": "support/docker_build.sh", "new_path": "support/docker-build.sh", "diff": "" }, { "change_type": "MODIFY", "old_path": "support/hooks/post-rewrite", "new_path": "support/hooks/post-rewrite", "diff": "@@ -37,4 +37,4 @@ fi\n## In git, '@' repr...
C++
Apache License 2.0
apache/mesos
Renamed executable files from '_' to '-' in the `support` directory. Review: https://reviews.apache.org/r/55487
46,143
14.01.2017 14:48:53
28,800
e49a343e551fb9f332760ba2240f2805de35c1b8
Fixed verify-reviews.py to call docker-build.sh. The filename was recently changed from docker_build.sh to docker-build.sh.
[ { "change_type": "MODIFY", "old_path": "support/verify-reviews.py", "new_path": "support/verify-reviews.py", "diff": "@@ -152,7 +152,7 @@ def verify_review(review_request):\n\"CONFIGURATION='--verbose' \"\n\"ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'\")\n- command = \"%s; ./support/docker_build.sh\" % c...
C++
Apache License 2.0
apache/mesos
Fixed verify-reviews.py to call docker-build.sh. The filename was recently changed from docker_build.sh to docker-build.sh.
46,143
16.01.2017 16:21:35
-3,600
004a128ad369eedbfd23643a3a2fee4259095228
Fixed "/api/v1" URI path in operator api doc. The doc incorrectly shows a trailing backslash at the end of the URI.
[ { "change_type": "MODIFY", "old_path": "docs/operator-http-api.md", "new_path": "docs/operator-http-api.md", "diff": "@@ -73,7 +73,7 @@ Content-Type: application/json\n```\nSET_LOGGING_LEVEL HTTP Request (JSON):\n-POST /api/v1/ HTTP/1.1\n+POST /api/v1 HTTP/1.1\nHost: masterhost:5050\nContent-Type: a...
C++
Apache License 2.0
apache/mesos
Fixed "/api/v1" URI path in operator api doc. The doc incorrectly shows a trailing backslash at the end of the URI.
46,186
17.01.2017 00:36:11
-28,800
13d04c6abe536b4ed012d48a5dcb09ec9ccfb395
Extended copyright in website footer to 2017. This closes
[ { "change_type": "MODIFY", "old_path": "site/source/layouts/basic.erb", "new_path": "site/source/layouts/basic.erb", "diff": "</div>\n<div class=\"col-md-8 trademark\">\n- <p>&copy; 2012-2016 <a href=\"http://apache.org\">The Apache Software Foundation</a>.\n+ <p>&copy; 2012-2017 <a href=\"http://ap...
C++
Apache License 2.0
apache/mesos
Extended copyright in website footer to 2017. This closes #200
46,143
16.01.2017 17:47:50
-3,600
892378d176a43edd8a3662df86d8007f5da5807f
Updated CHANGELOG for 1.0.3.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -459,6 +459,8 @@ Release Notes - Mesos - Version 1.0.3\nAll Issues:\n** Bug\n* [MESOS-6142] - Frameworks may RESERVE for an arbitrary role.\n+ * [MESOS-6621] - SSL downgrade path will CHECK-fail when using both ...
C++
Apache License 2.0
apache/mesos
Updated CHANGELOG for 1.0.3.
46,145
17.01.2017 11:58:46
-3,600
1b4134ff6161364a16554e833164e5215a043d36
Added the `mesos-cni-port-mapper` to the CMake build. Review:
[ { "change_type": "MODIFY", "old_path": "cmake/MesosConfigure.cmake", "new_path": "cmake/MesosConfigure.cmake", "diff": "@@ -140,6 +140,10 @@ if (NOT WIN32)\nset(\nMESOS_IO_SWITCHBOARD mesos-io-switchboard\nCACHE STRING \"Target for the IO switchboard\")\n+\n+ set(\n+ MESOS_CNI_PORT_MAPPER mesos-cni-...
C++
Apache License 2.0
apache/mesos
Added the `mesos-cni-port-mapper` to the CMake build. Review: https://reviews.apache.org/r/55149/
46,188
17.01.2017 14:17:49
-3,600
b115d2f58c251b4df28c79f5069f28915d39cf55
Fixed a few compiler warnings in libprocess.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/http.cpp", "new_path": "3rdparty/libprocess/src/http.cpp", "diff": "#include <stout/strings.hpp>\n#include <stout/synchronized.hpp>\n#include <stout/try.hpp>\n+#include <stout/unreachable.hpp>\n#include \"decoder.hpp\"\n#include \"encod...
C++
Apache License 2.0
apache/mesos
Fixed a few compiler warnings in libprocess.
46,181
17.01.2017 14:27:58
-3,600
15ca82d96e5f66a26900614cd4867ba410fa4b79
Cleaned up SlaveRecoveryTest.RegisterDisconnectedSlave. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_recovery_tests.cpp", "new_path": "src/tests/slave_recovery_tests.cpp", "diff": "@@ -2784,7 +2784,7 @@ TYPED_TEST(SlaveRecoveryTest, RegisterDisconnectedSlave)\ndriver.start();\nAWAIT_READY(offers);\n- EXPECT_NE(0u, offers.get().size());\n+ ASSE...
C++
Apache License 2.0
apache/mesos
Cleaned up SlaveRecoveryTest.RegisterDisconnectedSlave. Review: https://reviews.apache.org/r/55437/