summaryrefslogtreecommitdiff
path: root/source4/torture/local/irpc.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20652: Attempt to fix the buildVolker Lendecke1-0/+1
(This used to be commit 29d04fadf3db8cb1a6eb2d8ca33f0106cafaaab2)
2007-10-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell1-10/+17
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-41/+34
output in the testsuite rather than just True or False for a set of tests. The aim is to use this for: * known failure lists (run all tests and detect tests that started working or started failing). This would allow us to get rid of the RPC-SAMBA3-* tests * nicer torture output * simplification of the testsuite system * compatibility with other unit testing systems * easier usage of smbtorture (being able to run one test and automatically set up the environment for that) This is still a work-in-progress; expect more updates over the next couple of days. (This used to be commit 0eb6097305776325c75081356309115f445a7218)
2007-10-10r18516: I'm surprised that compilers allowed this at allAndrew Tridgell1-2/+2
(This used to be commit 46aa8a5e8914184575fa6b9ec9edced8dd615eab)
2007-10-10r18498: While passing stack values into torture_tcase_add_test is bad, valuesAndrew Bartlett1-3/+8
assigned into a static initialiser must be constant. Wishing sweet dreams on the jet-lagged tridge :-) Andrew Bartlett (This used to be commit 174014d956cb1d246bd07218ea289418195a73fb)
2007-10-10r18497: fixed crash bug in irpc test - the torture_tcase_add_test() callAndrew Tridgell1-2/+2
is passed a stack pointer from values[], which is not valid when the torture suite is run. Jelmer, need to be careful when converting test code not to use stack values from the torture_XXX() call in the test suite (This used to be commit 2744a0b385f58aaf0b45f33bec0d0a16c09709d7)
2007-10-10r16328: Wrap all existing tests in simple single-function testsuites.Jelmer Vernooij1-4/+3
(This used to be commit 7e811adf59841936b7e634fca4e95630f890c5af)
2007-10-10r16304: Improve testing UI API. This now allows registering the fullJelmer Vernooij1-45/+54
test suite tree, looks a bit more like other unit testing API's, fixes some memory responsibility issues, introduces testcases, and removes the need for tests to call torture_ok(). (This used to be commit 0445b1a56a02552f895f400960b9ced39244a144)
2007-10-10r16169: Convert to UI APIJelmer Vernooij1-58/+49
(This used to be commit 6306a3cc17aff23f54e3f4e7a36d6ab9f6739739)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+2
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r12782: Don't segfault if we cannot setup messaging.Andrew Bartlett1-0/+10
Andrew Bartlett (This used to be commit 59c380e048423d706ab65513c09dbefecb5819ae)
2007-10-10r12014: free the irpc_request structure with the irpc_call_recv functions,Stefan Metzmacher1-1/+0
to match all other _recv functions we have metze (This used to be commit bd4f85ab5f60c7430ac88062fa6a9f6cffa9596f)
2007-10-10r10490: - allow deferred irpc replies to set the statusAndrew Tridgell1-4/+21
- add an example of deferred reply for echodata in LOCAL-IRPC (This used to be commit 858a757a6d0a614b8f13bfb6217034e8a8b69554)
2007-10-10r8887: fixed the irpc error that caused ia64 to fail the LOCAL-IRPC testAndrew Tridgell1-3/+3
(This used to be commit ce9a262d379b946717d0d4be4731c837e6f7373d)
2007-10-10r8879: more expansion of the irpc test to try to uncover the ia64 mysteryAndrew Tridgell1-0/+50
(This used to be commit ff03b8148bdf7798af4e1704aba22635bb67cbe4)
2007-10-10r8874: test some more combinationsStefan Metzmacher1-3/+8
metze (This used to be commit 32c64e5bc2610d319b4e2e433e149cdd4bc538c9)
2007-10-10r8873: add more checksStefan Metzmacher1-0/+5
metze (This used to be commit bfc855d78f4ffb6e0f30a2bb02d8b388abaa971b)
2007-10-10r8871: add some debugging code to findout why LOCAL-IRPC fails on 64bit hostsStefan Metzmacher1-2/+10
metze (This used to be commit 2c36b64dccb30609fbc9ed68b7ab090bcbf44633)
2007-10-10r8867: try to fix the LOCAL-IRPC test on 64bit platformsStefan Metzmacher1-1/+1
metze (This used to be commit b7401c142a53696eb74af4fc4bc992728846d20e)
2007-10-10r8818: - fix LOCAL-IRPC test for new ref-alloc semantics of irpcAndrew Tridgell1-9/+7
- fixed return result from LOCAL-IRPC test - added timelimit support - ensure we free messages as they complete (This used to be commit ab9a5fd84b3832e752024b92d5d7e2d89b9a1df8)
2007-10-10r7358: make the irpc test use two messaging contexts, not one, so it betterAndrew Tridgell1-10/+15
matches the LOCAL-MESSAGING test (This used to be commit 5883ce16d0b98c9c23ee60fe6089e0adf2ce8d15)
2007-10-10r7321: add nbtd statistics serving over irpcAndrew Tridgell1-1/+1
(This used to be commit 4c0ed7328b14969ea34790b0e80fa714c44ccc5f)
2007-10-10r7295: added an irpc benchmark. It gets about 16k messages/sec on my laptop,Andrew Tridgell1-3/+73
compared to about 20k messages/sec for the raw messaging layer. I think that is quite acceptable given the extra functionality. (This used to be commit a05d38d1d91f1f54d3e3794a596b468992594852)
2007-10-10r7294: implemented the irpc messaging system. This is the core of theAndrew Tridgell1-0/+91
management system I proposed on samba-technical a couple of days ago. Essentially it is a very lightweight way for any code in Samba to make IDL based rpc calls to anywhere else in the code, without the client or server having to go to the trouble of setting up a full rpc service. It can be used with any of our existing IDL, but I expect it will mostly be used for a new set of Samba specific management calls. The LOCAL-IRPC torture test demonstrates how it can be used by calling the echo_AddOne() call over this transport. (This used to be commit 3d589a09954eb8b318f567e1150b0c27412fb942)