mpilman
1395da9a8f
keep test IDs the same over several cmake runs
...
CACHE INTRNAL was a bad choice for setting this
variable as it will keep increasing whenever cmake
runs. So we should use PARENT_SCOPE instead
2019-02-19 22:06:45 -08:00
mpilman
e8af6512ec
Generate distinct pseudo-random number for each test
...
Fixes #1161
2019-02-19 22:06:45 -08:00
mpilman
cdb7c721c9
documented caveats with flow and IDE-compilation
2019-02-19 15:16:59 -08:00
mpilman
7730e161ae
Changed this-ACTOR references to THIS
2019-02-19 15:16:59 -08:00
mpilman
4be90c91d6
Moved THIS and THIS_ADDR to actorcompiler.h
2019-02-19 15:16:59 -08:00
mpilman
62bd677cc9
fix old build system
2019-02-19 15:16:59 -08:00
Alex Miller
f3cd9f15ca
Update fdbclient/FileBackupAgent.actor.cpp
...
Co-Authored-By: mpilman <markus@pilman.ch>
2019-02-19 15:16:59 -08:00
Alex Miller
82cfb94f4a
Update fdbclient/FileBackupAgent.actor.cpp
...
Co-Authored-By: mpilman <markus@pilman.ch>
2019-02-19 15:16:59 -08:00
mpilman
da67067a07
Make unnecessary state variable a local variable
2019-02-19 15:16:59 -08:00
mpilman
f79a9594c1
Several bugfixes to make fdb build on non-ide
2019-02-19 15:16:59 -08:00
mpilman
6c1f64ed22
Fixed c binding tests for IDE
2019-02-19 15:16:59 -08:00
mpilman
999ea09bfd
Use correct fwd decls in TesterInterface
...
Also TesterInterface.h -> TesterInterface.actor.h
2019-02-19 15:16:59 -08:00
mpilman
699216f713
Use fwd decls in workloads
...
Also workloads.h -> workloads.actor.h
2019-02-19 15:16:59 -08:00
mpilman
3f0fd2a20c
Use fwd decls in WorkerInterface
...
Also WorkerInterface.h -> WorkerInterface.actor.h
2019-02-19 15:16:59 -08:00
mpilman
27a3153719
Use ACTOR forward declarations in MoveKeys
...
Also MoveKeys.h -> MoveKeys.actor.h
2019-02-19 15:16:59 -08:00
mpilman
3a0f9839b9
Fix minor IDE build errors
2019-02-19 15:16:59 -08:00
mpilman
9b14aeb156
Tell cmake not to link/install on ide build
2019-02-19 15:16:59 -08:00
mpilman
7fa7db3251
Minor bug fix - fdbclient now compiling
2019-02-19 15:16:59 -08:00
mpilman
0bb60e5a3b
Use proper fwd decl in NativeAPI
...
Also NativeAPI.h -> NativeAPI.actor.h
2019-02-19 15:16:59 -08:00
mpilman
c1592b4c3a
Several minor fixes within fdbclient
2019-02-19 15:16:59 -08:00
mpilman
70e089e791
Define THIS_ADDR for use with intellisense
...
this is undefined within ACTORs if compiled with
intellisense. We use a macro here to make sure just
replaces this with 0
2019-02-19 15:16:59 -08:00
mpilman
78dd80ea8a
Proper fwd decl in BackupAgent
...
Also BackupAgent.h -> BackupAgent.actor.h
2019-02-19 15:16:59 -08:00
mpilman
3cb2391b58
use proper fwd declarations in ManagementAPI
...
Also ManagementAPI.h -> ManagementAPI.actor.h
2019-02-19 15:16:59 -08:00
mpilman
479a4d7c22
Minor fixes in fdbclient for intellisense
2019-02-19 15:16:59 -08:00
mpilman
f14dee764b
Use fwd decl for connectionReader - fdbrpc compiling
2019-02-19 15:16:59 -08:00
mpilman
3bd9b9047b
Minor fixes - flow now compiling with intellisense
2019-02-19 15:16:59 -08:00
mpilman
2c16475906
Added a general copy-constructor for intellisense
...
If a actor returns something of a different type that is
assignable, it will work because the actor compiler will
compile this to an assignment. However, if you compile
without the actor compiler, this will fail.
2019-02-19 15:16:59 -08:00
mpilman
eb8285f14f
Add mock description for actors for intellisense
2019-02-19 15:16:59 -08:00
mpilman
9f8c060343
Put assertions in its own scope
...
Some if-else statements in the code don't use
curly-braces, which is problematic if the only
statement used is an assertion. This should fix
that.
2019-02-19 15:16:59 -08:00
mpilman
801e4c4700
Make when-macros work by accepting varargs
2019-02-19 15:16:59 -08:00
Evan Tschannen
6b0ef8341c
Merge pull request #1157 from vishesh/task/tls-upgrade
...
Support live TLS migration #1050
2019-02-19 14:30:08 -08:00
Vishesh Yadav
124a277a65
Remove coordinator printf in SimulatedCluster
2019-02-19 13:53:17 -08:00
mpilman
a225204965
put code in foundationdb dir in container
...
Generating the documentation does not work
if the foundationdb code is not in a directory
called `foundationdb`. This is imho a bug.
However, this should be fixed in another PR.
For now I simply renamed the directory in
docker-compose
2019-02-19 11:11:43 -08:00
mpilman
71baffa7d0
Address review
2019-02-19 11:11:43 -08:00
Andrew Noyes
5b3e6f3ba7
Update build/cmake/package_tester/modules/docker.sh
...
Co-Authored-By: mpilman <markus@pilman.ch>
2019-02-19 11:11:43 -08:00
mpilman
81e482b17e
fix invalid assignment
2019-02-19 11:11:43 -08:00
mpilman
4c80b1796a
renamed util-fun success to make purpose clearer
2019-02-19 11:11:43 -08:00
mpilman
3350a5ffe5
added documentation for test definitions
2019-02-19 11:11:43 -08:00
Andrew Noyes
2d25e7d08d
Update build/cmake/package_tester/modules/arguments.sh
...
Co-Authored-By: mpilman <markus@pilman.ch>
2019-02-19 11:11:43 -08:00
Andrew Noyes
c9f7f50907
Update build/cmake/package_tester/modules/test_args.sh
...
Co-Authored-By: mpilman <markus@pilman.ch>
2019-02-19 11:11:43 -08:00
mpilman
983ddaaed8
use fail instead of ugly `?`-assignment
2019-02-19 11:11:43 -08:00
mpilman
f47b9fe8e5
delete containers, not images
2019-02-19 11:11:43 -08:00
Andrew Noyes
15eb996280
Add test-fast and test to docker compose and build.sh
2019-02-19 11:11:43 -08:00
mpilman
b21d9e1a78
Add multi-threading feature to package test
2019-02-19 11:11:43 -08:00
mpilman
e8b6b64f3a
Made it possible to implement and run a test suite
2019-02-19 11:11:43 -08:00
mpilman
a2e4dc042f
Implement automatic package verification
2019-02-19 11:11:43 -08:00
mpilman
41128d5bb5
Remove packages->package dependency
...
There is a cmake bug not allowing us to have this
dependency :(
2019-02-19 11:11:25 -08:00
mpilman
acad3e8201
Put rpm, deb, or msi into the packages folder
...
This additionally fixes a dependency bug on Windows
2019-02-19 11:11:25 -08:00
Vishesh Yadav
0898686c9b
Remove old TODO
2019-02-18 15:43:27 -08:00
Chris Donati
6d86523040
Update docs regarding versionstamp operations
...
Since API version 520, the last 4 bytes are used as an index for
both the key and value transformations.
2019-02-17 11:34:12 -08:00