mirror of
https://github.com/wassname/ray.git
synced 2026-08-11 11:24:51 +08:00
* global scheduler with object transfer cost awareness -- upstream rebase * debugging global scheduler: multiple subscriptions * global scheduler: utarray push bug fix; tasks change state to SCHEDULED * change global scheduler test to be an integraton test * unit and integration tests are passing for global scheduler * improve global scheduler test: break up into several * global scheduler checkpoint: fix photon object id bug in test * test with timesync between object and task notifications; TODO: handle OoO object+task notifications in GS * fallback to base policy if no object dependencies are cached (may happen due to OoO object+task notification arrivals * clean up printfs; handle a missing LS in LS cache * Minor changes to Python test and factor out some common code. * refactoring handle task waiting * addressing comments * log_info -> log_debug * Change object ID printing. * PRId64 merge * Python 3 fix. * PRId64. * Python 3 fix. * resurrect differentiation between no args and missing object info; spacing * Valgrind fix. * Run all global scheduler tests in valgrind. * clang format * Comments and documentation changes. * Minor cleanups. * fix whitespace * Fix. * Documentation fix.
25 lines
424 B
C
25 lines
424 B
C
#include "greatest.h"
|
|
|
|
#include "common.h"
|
|
|
|
SUITE(common_tests);
|
|
|
|
TEST sha1_test(void) {
|
|
static char hex[ID_STRING_SIZE];
|
|
unique_id uid = globally_unique_id();
|
|
object_id_to_string((object_id) uid, &hex[0], ID_STRING_SIZE);
|
|
PASS();
|
|
}
|
|
|
|
SUITE(common_tests) {
|
|
RUN_TEST(sha1_test);
|
|
}
|
|
|
|
GREATEST_MAIN_DEFS();
|
|
|
|
int main(int argc, char **argv) {
|
|
GREATEST_MAIN_BEGIN();
|
|
RUN_SUITE(common_tests);
|
|
GREATEST_MAIN_END();
|
|
}
|